move target-independent opcodes out of TargetInstrInfo
[oota-llvm.git] / lib / Target / MSP430 / MSP430InstrInfo.td
index cd502cf2be681d28bb97e83339cbc9f98bdf551e..bb06f7bfd5c6eaa267b6c982e2d255ddc37b53a4 100644 (file)
@@ -285,7 +285,7 @@ def MOV16rm_POST : IForm16<0x0, DstReg, SrcPostInc, Size2Bytes,
 // up to 16 bits.
 def def8 : PatLeaf<(i8 GR8:$src), [{
   return N->getOpcode() != ISD::TRUNCATE &&
-         N->getOpcode() != TargetInstrInfo::EXTRACT_SUBREG &&
+         N->getOpcode() != TargetOpcode::EXTRACT_SUBREG &&
          N->getOpcode() != ISD::CopyFromReg;
 }]>;