[Mlir-commits] [mlir] [mlir][test] Fix filecheck annotation typos [2/n] (PR #93476)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Jun 14 08:35:58 PDT 2024


================
@@ -342,40 +342,40 @@ func.func @loop_bounds(%N : index) {
 
 // CHECK-LABEL: func @ifinst(%{{.*}}: index) {
 func.func @ifinst(%N: index) {
-  %c = arith.constant 200 : index // CHECK   %{{.*}} = arith.constant 200
-  affine.for %i = 1 to 10 {           // CHECK   affine.for %{{.*}} = 1 to 10 {
-    affine.if #set0(%i)[%N, %c] {     // CHECK     affine.if #set0(%{{.*}})[%{{.*}}, %{{.*}}] {
+  %c = arith.constant 200 : index // CHECK:  %{{.*}} = arith.constant 200
+  affine.for %i = 1 to 10 {           // CHECK:  affine.for %{{.*}} = 1 to 10 {
+    affine.if #set0(%i)[%N, %c] {     // CHECK:    affine.if #set(%{{.*}})[%{{.*}}, %{{.*}}] {
----------------
klensy wrote:

Yes, this looks weird, but there won't any better suggestions, so i've done what i've done.

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


More information about the Mlir-commits mailing list