Closed chhzh123 closed 2 years ago
This is because the LLVM lowering pass does not support symbolic constant, so we need to change %2 = affine.apply #map0(%arg1)[%c20]
into %2 = affine.apply #map0(%arg1)
with #map0 = affine_map<(d0) -> (d0 mod 20)>
.
Not sure why the following program cannot be executed on LLVM backend. (See test case)
It gives the following error, but
%c20
is indeed a constant.