From: Jim Grosbach Date: Mon, 22 Aug 2011 22:00:18 +0000 (+0000) Subject: Temporarilly mark tMUL as not commutable. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5e8701002bc53672a4e6a902e385810abe2cf911;p=oota-llvm.git Temporarilly mark tMUL as not commutable. It's not playing nicely in the coalescer with the tied operand. Disable commutability for now while we figure out the deeper fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138278 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index f58cb34e600..cfc4a5528b0 100644 --- a/lib/Target/ARM/ARMInstrThumb.td +++ b/lib/Target/ARM/ARMInstrThumb.td @@ -1047,7 +1047,7 @@ def tMOVSr : T1I<(outs tGPR:$Rd), (ins tGPR:$Rm), IIC_iMOVr, } // neverHasSideEffects // Multiply register -let isCommutable = 1 in +//let isCommutable = 1 in def tMUL : // A8.6.105 T1 Thumb1sI<(outs tGPR:$Rd), (ins tGPR:$Rn, tGPR:$Rm), AddrModeNone, 2, IIC_iMUL32, "mul", "\t$Rd, $Rn, $Rm", "$Rm = $Rd",