diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-28 21:01:56 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-28 21:01:56 +0000 |
commit | a3f8b7a4ce8ab5c46d52077162851105a390a6ac (patch) | |
tree | e10271cedc3995711c44fdc451ae44ce0783b701 /test/CodeGen/X86/alloca-align-rounding.ll | |
parent | 9ffd8b5720d606eb7da702c97ed6491697867949 (diff) | |
download | llvm-a3f8b7a4ce8ab5c46d52077162851105a390a6ac.tar.gz llvm-a3f8b7a4ce8ab5c46d52077162851105a390a6ac.tar.bz2 llvm-a3f8b7a4ce8ab5c46d52077162851105a390a6ac.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/alloca-align-rounding.ll')
-rw-r--r-- | test/CodeGen/X86/alloca-align-rounding.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/alloca-align-rounding.ll b/test/CodeGen/X86/alloca-align-rounding.ll index af3fe905d6..0bd97c23e8 100644 --- a/test/CodeGen/X86/alloca-align-rounding.ll +++ b/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) |