diff options
Diffstat (limited to 'llvm/test/Transforms/InstSimplify/phi.ll')
-rw-r--r-- | llvm/test/Transforms/InstSimplify/phi.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Transforms/InstSimplify/phi.ll b/llvm/test/Transforms/InstSimplify/phi.ll index 5b7aaa93caf..b0040ffeb03 100644 --- a/llvm/test/Transforms/InstSimplify/phi.ll +++ b/llvm/test/Transforms/InstSimplify/phi.ll @@ -1,8 +1,11 @@ +; NOTE: Assertions have been autogenerated by update_test_checks.py ; RUN: opt < %s -instsimplify -S | FileCheck %s ; PR12189 define i1 @test1(i32 %x) { ; CHECK-LABEL: @test1( +; CHECK: ret i1 %e +; br i1 true, label %a, label %b a: @@ -18,5 +21,4 @@ c: %d = urem i32 %cc, 2 %e = icmp eq i32 %d, 0 ret i1 %e -; CHECK: ret i1 %e } |