Remove the canCombineSubRegIndices() target hook.
[oota-llvm.git] / lib / Target / Hexagon / HexagonVLIWPacketizer.cpp
index a03ed03365ba64e33cc39c535d2d205d1a206852..3d5f685028eade1b124e2294ba67f2e3e5cec7f2 100644 (file)
@@ -3474,8 +3474,8 @@ bool HexagonPacketizerList::isLegalToPacketizeTogether(SUnit *SUI, SUnit *SUJ) {
       // 1. Two loads unless they are volatile.
       // 2. Two stores in V4 unless they are volatile.
       else if ((DepType == SDep::Order) &&
-               !I->hasVolatileMemoryRef() &&
-               !J->hasVolatileMemoryRef()) {
+               !I->hasOrderedMemoryRef() &&
+               !J->hasOrderedMemoryRef()) {
         if (QRI->Subtarget.hasV4TOps() &&
             // hexagonv4 allows dual store.
             MCIDI.mayStore() && MCIDJ.mayStore()) {