Fix part 1 of pr4682. PICADD is a 16-bit instruction even in thumb2 mode.
[oota-llvm.git] / lib / Target / ARM / ARMInstrThumb2.td
index faa7dd5475d8cababaec3978e3bdaeed9519379e..1b6b575a9ac64b3fb81bdab83a3daf55058c32d4 100644 (file)
@@ -422,12 +422,6 @@ multiclass T2I_bin_rrot<string opc, PatFrag opnode> {
 //  Miscellaneous Instructions.
 //
 
-let isNotDuplicable = 1 in
-def t2PICADD : T2XI<(outs GPR:$dst), (ins GPR:$lhs, pclabel:$cp),
-                    "$cp:\n\tadd.w $dst, $lhs, pc",
-                    [(set GPR:$dst, (ARMpic_add GPR:$lhs, imm:$cp))]>;
-
-
 // LEApcrel - Load a pc-relative address into a register without offending the
 // assembler.
 def t2LEApcrel : T2XI<(outs GPR:$dst), (ins i32imm:$label, pred:$p),