File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
include/mlir/Dialect/Affine/IR Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ include "mlir/IR/OpBase.td"
1717// Trait to declare that an op result is an affine dimension identifier.
1818// Prevents the result from being seen as a symbol into AffineMaps
1919// and IntegerSets.
20+ // This is a deviation from upstream to consider linalg.index as
21+ // a dimension rather than a symbol. See this PR:
22+ // https://github.com/Xilinx/llvm-project/pull/537
2023def AffineDim : NativeOpTrait<"AffineDim">;
2124
2225#endif // AFFINE_TRAITS
Original file line number Diff line number Diff line change 22
33// Check that linalg.index does not cause folding of affine.if set to
44// a symbolic set.
5+ // This is a deviation from upstream MLIR.
6+ // The origin of this test is that PR:
7+ // https://github.com/Xilinx/llvm-project/pull/537
58
69// CHECK: = affine_set<(d0) : (-d0 + 5 >= 0)>
710#set = affine_set <(d0 ) : (-d0 + 5 >= 0 )>
You can’t perform that action at this time.
0 commit comments