[llvm-commits] [llvm] r103982 - /llvm/trunk/lib/Target/ARM/ARMInstrNEON.td

Evan Cheng evan.cheng at apple.com
Mon May 17 14:54:51 PDT 2010


Author: evancheng
Date: Mon May 17 16:54:50 2010
New Revision: 103982

URL: http://llvm.org/viewvc/llvm-project?rev=103982&view=rev
Log:
vmov of immediates are trivially re-materializable.

Modified:
    llvm/trunk/lib/Target/ARM/ARMInstrNEON.td

Modified: llvm/trunk/lib/Target/ARM/ARMInstrNEON.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrNEON.td?rev=103982&r1=103981&r2=103982&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrNEON.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrNEON.td Mon May 17 16:54:50 2010
@@ -2862,6 +2862,7 @@
 // Note: Some of the cmode bits in the following VMOV instructions need to
 // be encoded based on the immed values.
 
+let isReMaterializable = 1 in {
 def VMOVv8i8  : N1ModImm<1, 0b000, 0b1110, 0, 0, 0, 1, (outs DPR:$dst),
                          (ins h8imm:$SIMM), IIC_VMOVImm,
                          "vmov", "i8", "$dst, $SIMM", "",
@@ -2897,6 +2898,7 @@
                          (ins h64imm:$SIMM), IIC_VMOVImm,
                          "vmov", "i64", "$dst, $SIMM", "",
                          [(set QPR:$dst, (v2i64 vmovImm64:$SIMM))]>;
+} // isReMaterializable
 
 //   VMOV     : Vector Get Lane (move scalar to ARM core register)
 





More information about the llvm-commits mailing list