Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 2df01c6

Browse files
author
Hal Finkel
committed
Remove seemingly-unneeded artificial dependency
The rationale for this artificial dependency seems to have been lost to the ravages of time, it is covered by no regression tests, and has no impact on test-suite performance numbers on either x86 or PPC. For the test suite, on both x86 and PPC, I ran the test suite 10 times (both as a baseline and with this change), and found no statistically-significant changes. For PPC, I used a P7 box. For x86, I used an Intel Xeon E5430. Both with -O3 -mcpu=native. This was discussed on-list back in January, but I've not had a chance to run the performance tests until today. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206795 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent b86fbcb commit 2df01c6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/CodeGen/ScheduleDAGInstrs.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -986,11 +986,6 @@ void ScheduleDAGInstrs::buildSchedGraph(AliasAnalysis *AA,
986986
// we have lost all RejectMemNodes below barrier.
987987
if (BarrierChain)
988988
BarrierChain->addPred(SDep(SU, SDep::Barrier));
989-
990-
if (!ExitSU.isPred(SU))
991-
// Push store's up a bit to avoid them getting in between cmp
992-
// and branches.
993-
ExitSU.addPred(SDep(SU, SDep::Artificial));
994989
} else if (MI->mayLoad()) {
995990
bool MayAlias = true;
996991
if (MI->isInvariantLoad(AA)) {

0 commit comments

Comments
 (0)