diff options
| author | Jim Grosbach <grosbach@apple.com> | 2011-09-30 00:50:06 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2011-09-30 00:50:06 +0000 |
| commit | efc761a1ebeca8670227668635e869ddd79983b5 (patch) | |
| tree | a745c8372888901558332b2cbf2c803d065283a9 /llvm/lib/Target/ARM/ARMISelLowering.h | |
| parent | 97b5083cd69518be8c3374c9d8d28475bb9293a3 (diff) | |
| download | bcm5719-llvm-efc761a1ebeca8670227668635e869ddd79983b5.tar.gz bcm5719-llvm-efc761a1ebeca8670227668635e869ddd79983b5.zip | |
ARM fix encoding of VMOV.f32 and VMOV.f64 immediates.
Encode the immediate into its 8-bit form as part of isel rather than later,
which simplifies things for mapping the encoding bits, allows the removal
of the custom disassembler decoding hook, makes the operand printer trivial,
and prepares things more cleanly for handling these in the asm parser.
rdar://10211428
llvm-svn: 140834
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.h')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h index b06e6594afe..3b1023ee3a5 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.h +++ b/llvm/lib/Target/ARM/ARMISelLowering.h @@ -227,12 +227,6 @@ namespace llvm { /// Define some predicates that are used for node matching. namespace ARM { - /// getVFPf32Imm / getVFPf64Imm - If the given fp immediate can be - /// materialized with a VMOV.f32 / VMOV.f64 (i.e. fconsts / fconstd) - /// instruction, returns its 8-bit integer representation. Otherwise, - /// returns -1. - int getVFPf32Imm(const APFloat &FPImm); - int getVFPf64Imm(const APFloat &FPImm); bool isBitFieldInvertedMask(unsigned v); } |

