diff options
author | Dan Gohman <gohman@apple.com> | 2008-12-16 06:21:45 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-12-16 06:21:45 +0000 |
commit | 812d7506d0c55fbb0eee522cb77b62e4ab777dea (patch) | |
tree | b1989238dc31b9b3055747bcd5f6e4f0b0c0798b | |
parent | fde221fa0a192a00dfdbce35ceec3d2035fe1019 (diff) |
Enable anti-dependence breaking by default when post-RA scheduling is enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61078 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/PostRASchedulerList.cpp | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/break-anti-dependencies.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/PostRASchedulerList.cpp b/lib/CodeGen/PostRASchedulerList.cpp index 865479d300..b5d789c38e 100644 --- a/lib/CodeGen/PostRASchedulerList.cpp +++ b/lib/CodeGen/PostRASchedulerList.cpp @@ -43,7 +43,7 @@ STATISTIC(NumStalls, "Number of pipeline stalls"); static cl::opt<bool> EnableAntiDepBreaking("break-anti-dependencies", cl::desc("Break scheduling anti-dependencies"), - cl::init(false)); + cl::init(true)); namespace { class VISIBILITY_HIDDEN PostRAScheduler : public MachineFunctionPass { diff --git a/test/CodeGen/X86/break-anti-dependencies.ll b/test/CodeGen/X86/break-anti-dependencies.ll index 8646e3ebe8..b432c39c01 100644 --- a/test/CodeGen/X86/break-anti-dependencies.ll +++ b/test/CodeGen/X86/break-anti-dependencies.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=x86-64 -disable-post-RA-scheduler=false > %t +; RUN: llvm-as < %s | llc -march=x86-64 -disable-post-RA-scheduler=false -break-anti-dependencies=false > %t ; RUN: grep {%xmm0} %t | count 14 ; RUN: not grep {%xmm1} %t ; RUN: llvm-as < %s | llc -march=x86-64 -disable-post-RA-scheduler=false -break-anti-dependencies > %t |