summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/alloca-align-rounding.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-28 21:01:56 +0000
committerDan Gohman <gohman@apple.com>2008-08-28 21:01:56 +0000
commitf27e33baa7d883f4545fc304b787f2fae2493a79 (patch)
tree805bf94a219c1b242d11667a4b59e0c5fb126e52 /llvm/test/CodeGen/X86/alloca-align-rounding.ll
parent17da67192266edae658b59957da8ef37935077f9 (diff)
downloadbcm5719-llvm-f27e33baa7d883f4545fc304b787f2fae2493a79.tar.gz
bcm5719-llvm-f27e33baa7d883f4545fc304b787f2fae2493a79.zip
Optimize DAGCombiner's worklist processing. Previously it started
its work by putting all nodes in the worklist, requiring a big dynamic allocation. Now, DAGCombiner just iterates over the AllNodes list and maintains a worklist for nodes that are newly created or need to be revisited. This allows the worklist to stay small in most cases, so it can be a SmallVector. This has the side effect of making DAGCombine not miss a folding opportunity in alloca-align-rounding.ll. llvm-svn: 55498
Diffstat (limited to 'llvm/test/CodeGen/X86/alloca-align-rounding.ll')
-rw-r--r--llvm/test/CodeGen/X86/alloca-align-rounding.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/alloca-align-rounding.ll b/llvm/test/CodeGen/X86/alloca-align-rounding.ll
index af3fe905d69..0bd97c23e87 100644
--- a/llvm/test/CodeGen/X86/alloca-align-rounding.ll
+++ b/llvm/test/CodeGen/X86/alloca-align-rounding.ll
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-apple-darwin | grep and | count 1
-; RUN: llvm-as < %s | llc -march=x86-64 -mtriple=i686-pc-linux | grep and | count 3
+; RUN: llvm-as < %s | llc -march=x86-64 -mtriple=i686-pc-linux | grep and | count 1
declare void @bar(<2 x i64>* %n)
OpenPOWER on IntegriCloud