Displaying 1 result from an estimated 1 matches for "00a0b0f".
2016 Feb 03
2
[buildSchedGraph] memory dependencies
...analysis an advantage? This is a check in the case of the *same Value*.
In this case the Value is an argument, which is unsafe against others,
but I am thinking it should at least be safe against itself...
diff --git a/lib/CodeGen/ScheduleDAGInstrs.cpp
b/lib/CodeGen/ScheduleDAGInstrs.cpp
index 00a0b0f..cd48f51 100644
--- a/lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/lib/CodeGen/ScheduleDAGInstrs.cpp
@@ -584,6 +584,25 @@ static bool MIsNeedChainEdge(AliasAnalysis *AA,
const MachineFrameInfo *MFI,
if (!MIa->hasOneMemOperand() || !MIb->hasOneMemOperand())
return true;
+ // If mem-ope...