diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2010-09-24 22:03:46 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2010-09-24 22:03:46 +0000 |
| commit | 6b530794d75c306471eeb68594209c71072f7a29 (patch) | |
| tree | d27ca3a755f66f812783ffe6f8dd1c89e3013efd /lib/Target/ARM/ARMInstrThumb2.td | |
| parent | 48736939a92126e5439f2f004138dadf16d90eec (diff) | |
| download | external_llvm-6b530794d75c306471eeb68594209c71072f7a29.zip external_llvm-6b530794d75c306471eeb68594209c71072f7a29.tar.gz external_llvm-6b530794d75c306471eeb68594209c71072f7a29.tar.bz2 | |
Fix scheduling itinerary for pseudo mov immediate instructions which expand into two real instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrThumb2.td')
| -rw-r--r-- | lib/Target/ARM/ARMInstrThumb2.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index 6a5078c..0534097 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -2689,10 +2689,10 @@ def : T2Pat<(add rGPR:$LHS, t2_so_neg_imm2part:$RHS), (t2_so_neg_imm2part_2 imm:$RHS))>; // 32-bit immediate using movw + movt. -// This is a single pseudo instruction to make it re-materializable. Remove -// when we can do generalized remat. +// This is a single pseudo instruction to make it re-materializable. +// FIXME: Remove this when we can do generalized remat. let isReMaterializable = 1 in -def t2MOVi32imm : T2Ix2<(outs rGPR:$dst), (ins i32imm:$src), IIC_iMOVi, +def t2MOVi32imm : T2Ix2<(outs rGPR:$dst), (ins i32imm:$src), IIC_iMOVix2, "movw", "\t$dst, ${src:lo16}\n\tmovt${p}\t$dst, ${src:hi16}", [(set rGPR:$dst, (i32 imm:$src))]>; |
