Typo
[oota-llvm.git] / lib / Target / MSP430 / MSP430ISelLowering.cpp
index 181658665ddb400d891c0a156e310a0c1f4ddf63..387cebffc0b574336a7df9a0227e69edc771a057 100644 (file)
@@ -468,7 +468,7 @@ SDValue MSP430TargetLowering::LowerShifts(SDValue Op,
   }
 
   while (ShiftAmount--)
-    Victim = DAG.getNode((Opc == ISD::SRA ? MSP430ISD::RRA : MSP430ISD::RLA),
+    Victim = DAG.getNode((Opc == ISD::SHL ? MSP430ISD::RLA : MSP430ISD::RRA),
                          dl, VT, Victim);
 
   return Victim;