Amy Wang

Results comments of Amy Wang

Since```scf.for %arg2 = %c0 to %2 step %c1``` is not an ```affine.for``` loop, ```mlir::getNumCommonSurroundingLoops``` is unable to detect the loop when it calls ```mlir::getLoopIVs```: ``` void mlir::getLoopIVs(Operation &op, SmallVectorImpl *loops)...

The crash happens when building dependence polyhedron and attempting to add the domain constraint. The code in AffineStructures.cpp:FlatAffineValueConstraints' assert statement checks that the loop bound (i.e. val) isTopLevelValue or isForInductionVar....

First, ```-convert-linalg-to-affine-loops``` should have created a ```affine.for``` loop instead of the ```scf.for``` loop. Agree? Instead of : ```scf.for %arg2 = %c0 to %2 step %c1``` Should generate: ```affine.for %arg2 =...

I'd like to retain commit access. Thanks!

@MarisaKirisame : I have some thoughts regarding your suggestion to the possibility of a merged program analysis framework between RelayIR and HalideIR between issue [3895](https://github.com/apache/incubator-tvm/issues/3895) and this current issue. I...

@gussmith23 @jroesch Comments appreciated!

No longer active. Please close. Thanks.