[Mlir-commits] [mlir] [mlir] Add FileRange location type. (PR #80213)

Mehdi Amini llvmlistbot at llvm.org
Wed Jan 31 17:00:36 PST 2024


================
@@ -16,7 +16,7 @@ func.func @inline_notation() -> i32 {
   // CHECK: affine.for %arg0 loc("IVlocation") = 0 to 8 {
   // CHECK: } loc(fused["foo", "mysource.cc":10:8])
   affine.for %i0 loc("IVlocation") = 0 to 8 {
-  } loc(fused["foo", "mysource.cc":10:8])
+  } loc(fused["foo", range("mysource.cc":10:8 to 5)])
----------------
joker-eph wrote:

You add an input, but it's lost in the output (no CHECK)?

https://github.com/llvm/llvm-project/pull/80213


More information about the Mlir-commits mailing list