aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-06 01:19:04 +0000
committerDan Gohman <gohman@apple.com>2009-01-06 01:19:04 +0000
commitfd2163bcf77df6b3e58868483c089bd3869b01d6 (patch)
tree7c9fada1884a4bafc6d80ef05068ae6cc34edc85 /test/CodeGen/X86
parentb9f08a00af689eb54d25f4cec9a71899d1984f56 (diff)
downloadexternal_llvm-fd2163bcf77df6b3e58868483c089bd3869b01d6.zip
external_llvm-fd2163bcf77df6b3e58868483c089bd3869b01d6.tar.gz
external_llvm-fd2163bcf77df6b3e58868483c089bd3869b01d6.tar.bz2
Use a latency value of 0 for the artificial edges inserted by
AddPseudoTwoAddrDeps. This lets the scheduling infrastructure avoid recalculating node heights. In very large testcases this was a major bottleneck. Thanks to Roman Levenstein for finding this! As a side effect, fold-pcmpeqd-0.ll is now scheduled better and it no longer requires spilling on x86-32. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r--test/CodeGen/X86/fold-pcmpeqd-0.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/fold-pcmpeqd-0.ll b/test/CodeGen/X86/fold-pcmpeqd-0.ll
index a529f91..152c122 100644
--- a/test/CodeGen/X86/fold-pcmpeqd-0.ll
+++ b/test/CodeGen/X86/fold-pcmpeqd-0.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | not grep pcmpeqd
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep pcmpeqd | count 1
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep pcmpeqd | count 1
; This testcase shouldn't need to spill the -1 value,