diff options
author | Juergen Ributzka <juergen@apple.com> | 2014-03-20 19:55:52 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2014-03-20 19:55:52 +0000 |
commit | 6dab520c70a25f43f288f9875faf1e8df5a80c3a (patch) | |
tree | 58c38bc5fae1726785492a1b2ebda6fd74edad82 /llvm/test/Transforms/ConstantHoisting | |
parent | b6118c5b1771d889d2bb6c63b45938769ac34755 (diff) | |
download | bcm5719-llvm-6dab520c70a25f43f288f9875faf1e8df5a80c3a.tar.gz bcm5719-llvm-6dab520c70a25f43f288f9875faf1e8df5a80c3a.zip |
[Constant Hoisting] Extend coverage of the constant hoisting pass.
This commit extends the coverage of the constant hoisting pass, adds additonal
debug output and updates the function names according to the style guide.
Related to <rdar://problem/16381500>
llvm-svn: 204389
Diffstat (limited to 'llvm/test/Transforms/ConstantHoisting')
-rw-r--r-- | llvm/test/Transforms/ConstantHoisting/X86/phi.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/Transforms/ConstantHoisting/X86/phi.ll b/llvm/test/Transforms/ConstantHoisting/X86/phi.ll index cc2fdda40e7..7134723f61a 100644 --- a/llvm/test/Transforms/ConstantHoisting/X86/phi.ll +++ b/llvm/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) { |