diff options
Diffstat (limited to 'test/Transforms/ConstantHoisting/X86/phi.ll')
-rw-r--r-- | test/Transforms/ConstantHoisting/X86/phi.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Transforms/ConstantHoisting/X86/phi.ll b/test/Transforms/ConstantHoisting/X86/phi.ll index cc2fdda40e..7134723f61 100644 --- a/test/Transforms/ConstantHoisting/X86/phi.ll +++ b/test/Transforms/ConstantHoisting/X86/phi.ll @@ -19,11 +19,11 @@ return: ret i8* %retval.0 ; CHECK-LABEL: @test1 -; CHECK: entry: -; CHECK: %const_mat = add i64 %const, 1 -; CHECK-NEXT: %1 = inttoptr i64 %const_mat to i8* -; CHECK-NEXT: br i1 %cmp -; CHECK: %retval.0 = phi i8* [ null, %entry ], [ %1, %if.end ] +; CHECK: if.end: +; CHECK: %2 = inttoptr i64 %const to i8* +; CHECK-NEXT: br +; CHECK: return: +; CHECK-NEXT: %retval.0 = phi i8* [ null, %entry ], [ %2, %if.end ] } define void @test2(i1 %cmp, i64** %tmp) { |