[llvm] [llvm][test] Fix filecheck annotation typos [1/n] (PR #93673)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 03:50:43 PDT 2024


================
@@ -57,33 +57,33 @@ declare i32 @foo(i32, i32) nounwind readnone
 ; FIXME: The test failes when the original order of the
 ; candidates with the same cost is preserved.
 ;
-;define i32 @test3(i1 zeroext %flag, i32 %x, i32 %y) {
-;entry:
-;  br i1 %flag, label %if.then, label %if.else
-;
-;if.then:
-;  %x0 = call i32 @foo(i32 %x, i32 0) nounwind readnone
-;  %y0 = call i32 @foo(i32 %x, i32 1) nounwind readnone
-;  br label %if.end
-;
-;if.else:
-;  %x1 = call i32 @foo(i32 %y, i32 0) nounwind readnone
-;  %y1 = call i32 @foo(i32 %y, i32 1) nounwind readnone
-;  br label %if.end
-;
-;if.end:
-;  %xx = phi i32 [ %x0, %if.then ], [ %x1, %if.else ]
-;  %yy = phi i32 [ %y0, %if.then ], [ %y1, %if.else ]
-;  %ret = add i32 %xx, %yy
-;  ret i32 %ret
-;}
-;
-; COM: CHECK-LABEL: test3
-; COM: CHECK: select
-; COM: CHECK: call
-; COM: CHECK: call
-; COM: CHECK: add
-; COM: CHECK-NOT: br
+define i32 @test3(i1 zeroext %flag, i32 %x, i32 %y) {
----------------
klensy wrote:

here fails too

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


More information about the llvm-commits mailing list