[Hexagon] Updating doubleword shift usages to new versions.
[oota-llvm.git] / lib / Target / Hexagon / HexagonPeephole.cpp
index 6553072f4befbc43484113b02911dacbdcd18102..a36efe701ba6cb9d01a50bac81df955252e52058 100644 (file)
@@ -169,7 +169,7 @@ bool HexagonPeephole::runOnMachineFunction(MachineFunction &MF) {
       // %vregIntReg = COPY %vregDoubleReg1:subreg_loreg.
       // and convert into
       // %vregIntReg = COPY %vregDoubleReg0:subreg_hireg.
-      if (MI->getOpcode() == Hexagon::LSRd_ri) {
+      if (MI->getOpcode() == Hexagon::S2_lsr_i_p) {
         assert(MI->getNumOperands() == 3);
         MachineOperand &Dst = MI->getOperand(0);
         MachineOperand &Src1 = MI->getOperand(1);