Replace TargetInstrInfo::CanBeDuplicated() with a M_NOT_DUPLICABLE bit.
[oota-llvm.git] / lib / Target / ARM / ARMInstrThumb.td
index a1e4e24397feac5ce34cffab9668e7133a4ae10f..996b635338e68140324c01b063bd5a83b871aa71 100644 (file)
@@ -170,6 +170,7 @@ PseudoInst<(ops i32imm:$amt),
            "@ tADJCALLSTACKDOWN $amt",
            [(ARMcallseq_start imm:$amt)]>, Imp<[SP],[SP]>, Requires<[IsThumb]>;
 
+let isNotDuplicable = 1 in
 def tPICADD : TIt<(ops GPR:$dst, GPR:$lhs, pclabel:$cp),
                   "$cp:\n\tadd $dst, pc",
                   [(set GPR:$dst, (ARMpic_add GPR:$lhs, imm:$cp))]>;