Temporarilly mark tMUL as not commutable.
authorJim Grosbach <grosbach@apple.com>
Mon, 22 Aug 2011 22:00:18 +0000 (22:00 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 22 Aug 2011 22:00:18 +0000 (22:00 +0000)
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

lib/Target/ARM/ARMInstrThumb.td

index f58cb34e60002acaa6b8732b631644c2c918f9c3..cfc4a5528b0708ccab0ea6ddac6d5b8cf6f8ba5f 100644 (file)
@@ -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",