diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-03-04 10:46:01 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-03-04 10:46:01 +0000 |
commit | e3e394d982a2bd2bc37edb1f8c3492d0382e37a9 (patch) | |
tree | a805dec71b3b79d9fa1ce7fc6432a338ac324dbc /test/CodeGen/ARM/cse-libcalls.ll | |
parent | e4fd907e72a599eddfa7a81eac4366b5b82523e3 (diff) |
Do trivial CSE of dead BBs during codegen preparation.
Some BBs can become dead after codegen preparation. If we delete them here, it
could help enable tail-call optimizations later on.
<rdar://problem/10256573>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/cse-libcalls.ll')
-rw-r--r-- | test/CodeGen/ARM/cse-libcalls.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/cse-libcalls.ll b/test/CodeGen/ARM/cse-libcalls.ll index 0dcf9ddc0b..1d011be93c 100644 --- a/test/CodeGen/ARM/cse-libcalls.ll +++ b/test/CodeGen/ARM/cse-libcalls.ll @@ -4,7 +4,7 @@ target triple = "i386-apple-darwin8" ; Without CSE of libcalls, there are two calls in the output instead of one. -define i32 @u_f_nonbon(double %lambda) nounwind { +define double @u_f_nonbon(double %lambda) nounwind { entry: %tmp19.i.i = load double* null, align 4 ; <double> [#uses=2] %tmp6.i = fcmp olt double %tmp19.i.i, 1.000000e+00 ; <i1> [#uses=1] @@ -26,5 +26,5 @@ bb502.loopexit.i: ; preds = %bb28.i br i1 false, label %bb.nph53.i, label %bb508.i bb508.i: ; preds = %bb502.loopexit.i, %entry - ret i32 1 + ret double %tmp10.i4 } |