mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 11:23:58 +00:00
Fix induction variable type in scf.for py binding.
- make sure that the type of induction variable should be determined by the type of the lower bound type. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D159534
This commit is contained in:
parent
8362cae71b
commit
3d51b40c4a
@ -52,7 +52,7 @@ class ForOp:
|
||||
ip=ip,
|
||||
)
|
||||
)
|
||||
self.regions[0].blocks.append(IndexType.get(), *results)
|
||||
self.regions[0].blocks.append(self.operands[0].type, *results)
|
||||
|
||||
@property
|
||||
def body(self):
|
||||
|
Loading…
Reference in New Issue
Block a user