[llvm-commits] [llvm] r61078 - in /llvm/trunk: lib/CodeGen/PostRASchedulerList.cpp test/CodeGen/X86/break-anti-dependencies.ll
Dan Gohman
gohman at apple.com
Mon Dec 15 22:21:45 PST 2008
Author: djg
Date: Tue Dec 16 00:21:45 2008
New Revision: 61078
URL: http://llvm.org/viewvc/llvm-project?rev=61078&view=rev
Log:
Enable anti-dependence breaking by default when post-RA scheduling is enabled.
Modified:
llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp
llvm/trunk/test/CodeGen/X86/break-anti-dependencies.ll
Modified: llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp?rev=61078&r1=61077&r2=61078&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp (original)
+++ llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp Tue Dec 16 00:21:45 2008
@@ -43,7 +43,7 @@
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 {
Modified: llvm/trunk/test/CodeGen/X86/break-anti-dependencies.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/break-anti-dependencies.ll?rev=61078&r1=61077&r2=61078&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/break-anti-dependencies.ll (original)
+++ llvm/trunk/test/CodeGen/X86/break-anti-dependencies.ll Tue Dec 16 00:21:45 2008
@@ -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
More information about the llvm-commits
mailing list