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

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Fri Jun 14 08:15:22 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(%{{.*}})[%{{.*}}, %{{.*}}] {
----------------
ftynse wrote:

We shouldn't hardcode transient names after `#`, same as variable and block names.

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


More information about the Mlir-commits mailing list