[llvm-commits] [llvm] r85410 - /llvm/trunk/lib/Target/ARM/ARMInstrVFP.td
Evan Cheng
evan.cheng at apple.com
Wed Oct 28 11:19:56 PDT 2009
Author: evancheng
Date: Wed Oct 28 13:19:56 2009
New Revision: 85410
URL: http://llvm.org/viewvc/llvm-project?rev=85410&view=rev
Log:
fconsts and fconstd are obviously re-materializable.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrVFP.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrVFP.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrVFP.td?rev=85410&r1=85409&r2=85410&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrVFP.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrVFP.td Wed Oct 28 13:19:56 2009
@@ -431,6 +431,7 @@
// Materialize FP immediates. VFP3 only.
+let isReMaterializable = 1 in
def FCONSTS : VFPAI<(outs SPR:$dst), (ins vfp_f32imm:$imm),
VFPMiscFrm, IIC_VMOVImm,
"fconsts", "\t$dst, $imm",
@@ -442,6 +443,7 @@
let Inst{7-4} = 0b0000;
}
+let isReMaterializable = 1 in
def FCONSTD : VFPAI<(outs DPR:$dst), (ins vfp_f64imm:$imm),
VFPMiscFrm, IIC_VMOVImm,
"fconstd", "\t$dst, $imm",
More information about the llvm-commits
mailing list