diff options
author | Andrew Trick <atrick@apple.com> | 2013-09-04 23:54:00 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-09-04 23:54:00 +0000 |
commit | d4486ebd5f9b727fc73407b93a7d83aab7551179 (patch) | |
tree | 34757df64bf782226b42e0178e135b7d26d5c229 /test/CodeGen/X86/misched-matmul.ll | |
parent | a38c27be0ff5dd35fcd20cfce827f9dbdb24d1ea (diff) | |
download | llvm-d4486ebd5f9b727fc73407b93a7d83aab7551179.tar.gz llvm-d4486ebd5f9b727fc73407b93a7d83aab7551179.tar.bz2 llvm-d4486ebd5f9b727fc73407b93a7d83aab7551179.tar.xz |
mi-sched: Force bottom up scheduling for generic targets.
Fast register pressure tracking currently only takes effect during
bottom up scheduling. Forcing this is a bit faster and simpler for
targets that don't have many scheduling constraints and don't need
top-down scheduling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/misched-matmul.ll')
-rw-r--r-- | test/CodeGen/X86/misched-matmul.ll | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/CodeGen/X86/misched-matmul.ll b/test/CodeGen/X86/misched-matmul.ll index fe78e70f05..5454b7cf78 100644 --- a/test/CodeGen/X86/misched-matmul.ll +++ b/test/CodeGen/X86/misched-matmul.ll @@ -3,11 +3,14 @@ ; ; Verify that register pressure heuristics are working in MachineScheduler. ; -; When we enable subtree scheduling heuristics on X86, we may need a -; flag to disable it for this test case. +; We can further reduce spills in this case with a global register +; pressure heuristic, like sethi-ullman numbers or biasing toward +; scheduled subtrees. However, these heuristics are marginally +; beneficial on x86_64 and exacerbate register pressure in other +; more complex cases. ; ; CHECK: @wrap_mul4 -; CHECK: 22 regalloc - Number of spills inserted +; CHECK: 23 regalloc - Number of spills inserted define void @wrap_mul4(double* nocapture %Out, [4 x double]* nocapture %A, [4 x double]* nocapture %B) #0 { entry: |