my mlir looks like code below, where the type of %2, %4, %6, %8 are index, and when i run the compiler it hint the error that ’ affine.load op index must be a dimension or symbol identifier’ , could it convert the index type to the right type of affine.load indices?
%9 = affine.load %arg0[%2, %4, %6, %8] : memref<4x32x16x32xf32>
by the way, the index %2 comes from arith add and muli
%c2_index = arith.constant 2 : index
%1 = arith.muli %arg5, %c2_index : index
%2 = arith.addi %1, %arg1 : index