summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-02-06 09:07:11 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-02-06 09:07:11 +0000
commit00a99a35840451a291eb61a192a750908a4073ae (patch)
tree9339c885e326a6d881e123500e772ba97e35e9a6 /test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll
parente3e86dce64163a2082f3fc7be64c7dbb6e580493 (diff)
downloadllvm-00a99a35840451a291eb61a192a750908a4073ae.tar.gz
llvm-00a99a35840451a291eb61a192a750908a4073ae.tar.bz2
llvm-00a99a35840451a291eb61a192a750908a4073ae.tar.xz
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/2009-09-10-LoadFoldingBug.ll')
-rw-r--r--test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll b/test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll
index 9e58872b73..7b5e871246 100644
--- a/test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll
+++ b/test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll
@@ -13,7 +13,6 @@ define i32 @t(i32 %clientPort, i32 %pluginID, i32 %requestID, i32 %objectID, i64
entry:
; CHECK: _t:
; CHECK: movl 16(%rbp),
-; CHECK: movl 16(%rbp), %edx
%0 = zext i32 %argumentsLength to i64 ; <i64> [#uses=1]
%1 = zext i32 %clientPort to i64 ; <i64> [#uses=1]
%2 = inttoptr i64 %1 to %struct.ComplexType* ; <%struct.ComplexType*> [#uses=1]