move target-independent opcodes out of TargetInstrInfo
[oota-llvm.git] / lib / Target / Blackfin / BlackfinISelDAGToDAG.cpp
index e1b60086e9700627fb6440e672b884882fc9c22b..2c9cc6019f75ca8782d4628fb8b36e3675641fca 100644 (file)
@@ -175,7 +175,7 @@ void BlackfinDAGToDAGISel::FixRegisterClasses(SelectionDAG &DAG) {
       // We cannot copy CC <-> !(CC/D)
       if ((isCC(DefRC) && !isDCC(UseRC)) || (isCC(UseRC) && !isDCC(DefRC))) {
         SDNode *Copy =
-          DAG.getMachineNode(TargetInstrInfo::COPY_TO_REGCLASS,
+          DAG.getMachineNode(TargetOpcode::COPY_TO_REGCLASS,
                              NI->getDebugLoc(),
                              MVT::i32,
                              UI.getUse().get(),