diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index f7043303441..9c2d98b44f7 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/lib/Target/ARM/ARMInstrInfo.td @@ -342,6 +342,4 @@ def : Pat<(i32 (zextloadi1 IntRegs:$addr)), (LDRB IntRegs:$addr)>; // truncstore bool -> truncstore byte. def : Pat<(truncstorei1 IntRegs:$src, IntRegs:$addr), - (STRB IntRegs:$addr, IntRegs:$src)>; -def : Pat<(truncstorei1 IntRegs:$src, IntRegs:$addr), - (STRB IntRegs:$addr, IntRegs:$src)>; + (STRB IntRegs:$src, IntRegs:$addr)>;