diff options
author | Diana Picus <diana.picus@linaro.org> | 2019-04-10 09:14:32 +0000 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2019-04-10 09:14:32 +0000 |
commit | b6e83b98f94a0e2891475b28e507a4f62d8a3b4a (patch) | |
tree | dcae723c0bd9b46907e8ce74337e09cf58af043a /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | |
parent | 3533ad6801e5f52b0ec6d554529a7caca8df2ba5 (diff) | |
download | llvm-b6e83b98f94a0e2891475b28e507a4f62d8a3b4a.zip llvm-b6e83b98f94a0e2891475b28e507a4f62d8a3b4a.tar.gz llvm-b6e83b98f94a0e2891475b28e507a4f62d8a3b4a.tar.bz2 |
[ARM GlobalISel] Select G_FCONSTANT for VFP3
Make it possible to TableGen code for FCONSTS and FCONSTD.
We need to make two changes to the TableGen descriptions of vfp_f32imm
and vfp_f64imm respectively:
* add GISelPredicateCode to check that the immediate fits in 8 bits;
* extract the SDNodeXForms into separate definitions and create a
GISDNodeXFormEquiv and a custom renderer function for each of them.
There's a lot of boilerplate to get the actual value of the immediate,
but it basically just boils down to calling ARM_AM::getFP32Imm or
ARM_AM::getFP64Imm.
llvm-svn: 358063
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions