diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-02-06 09:07:11 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-02-06 09:07:11 +0000 |
commit | 00a99a35840451a291eb61a192a750908a4073ae (patch) | |
tree | 9339c885e326a6d881e123500e772ba97e35e9a6 /test/CodeGen/X86/sext-i1.ll | |
parent | e3e86dce64163a2082f3fc7be64c7dbb6e580493 (diff) | |
download | external_llvm-00a99a35840451a291eb61a192a750908a4073ae.zip external_llvm-00a99a35840451a291eb61a192a750908a4073ae.tar.gz external_llvm-00a99a35840451a291eb61a192a750908a4073ae.tar.bz2 |
Run codegen dce pass for all targets at all optimization levels. Previously it's
only run for x86 with fastisel. I've found it being very effective in
eliminating some obvious dead code as result of formal parameter lowering
especially when tail call optimization eliminated the need for some of the loads
from fixed frame objects. It also shrinks a number of the tests. A couple of
tests no longer make sense and are now eliminated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95493 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/sext-i1.ll')
-rw-r--r-- | test/CodeGen/X86/sext-i1.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/sext-i1.ll b/test/CodeGen/X86/sext-i1.ll index 4f88c7c..21c418d 100644 --- a/test/CodeGen/X86/sext-i1.ll +++ b/test/CodeGen/X86/sext-i1.ll @@ -44,9 +44,9 @@ entry: ; 64: t3: ; 64: cmpl $1 -; 64: sbbl -; 64: cmpl ; 64: sbbq +; 64: cmpq +; 64: xorl %not.tobool = icmp eq i32 undef, 0 ; <i1> [#uses=2] %cond = sext i1 %not.tobool to i32 ; <i32> [#uses=1] %conv = sext i1 %not.tobool to i64 ; <i64> [#uses=1] |