diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-10-28 18:19:56 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-10-28 18:19:56 +0000 |
commit | 30c80211b648c7344e949af594a9a191a1d36acc (patch) | |
tree | 41e5cc79cd7675bd8fe0f7257480cef3c5ff6584 /lib | |
parent | ca5dfb71ba4aa4a8392a021ec056cf0b70f74f1e (diff) |
fconsts and fconstd are obviously re-materializable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85410 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMInstrVFP.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrVFP.td b/lib/Target/ARM/ARMInstrVFP.td index b739c639ad..455c33b795 100644 --- a/lib/Target/ARM/ARMInstrVFP.td +++ b/lib/Target/ARM/ARMInstrVFP.td @@ -431,6 +431,7 @@ def FMSTAT : VFPAI<(outs), (ins), VFPMiscFrm, IIC_fpSTAT, "fmstat", "", // 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 @@ def FCONSTS : VFPAI<(outs SPR:$dst), (ins vfp_f32imm:$imm), 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", |