[Hexagon] Preprocess mapped instructions before lowering to MC
[oota-llvm.git] / lib / Target / Hexagon / HexagonMCInstLower.cpp
index 86d9e19c05474a32aa6f8a8908d7bea57d46798b..624c0f6cf49de51b401ed66241090eb72cf8abdf 100644 (file)
@@ -139,6 +139,7 @@ void llvm::HexagonLowerToMC(const MCInstrInfo &MCII, const MachineInstr *MI,
 
     MCI->addOperand(MCO);
   }
+  AP.HexagonProcessInstruction(*MCI, *MI);
   HexagonMCInstrInfo::extendIfNeeded(AP.OutContext, MCII, MCB, *MCI,
                                      MustExtend);
   MCB.addOperand(MCOperand::createInst(MCI));