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
This commit is contained in:
Dan Gohman 2008-12-16 06:21:45 +00:00
parent fde221fa0a
commit 812d7506d0
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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