This add patterns for fp16 round and ceil etc. Same as the float and double patterns.
Round needs to be marked as legal. The others already are.
Paths
| Differential D62326
[ARM] Select a number of fp16 rounding functions ClosedPublic Authored by dmgreen on May 23 2019, 8:59 AM.
Details Summary This add patterns for fp16 round and ceil etc. Same as the float and double patterns. Round needs to be marked as legal. The others already are.
Diff Detail
Event Timeline
dmgreen added inline comments.
Comment Actions This looks good to me. Bikeshedding names: perhaps you can think about the filename fp16-full.ll as it is not really descriptive. This revision is now accepted and ready to land.May 24 2019, 3:41 AM Closed by commit rG21542cd6f4c6: [ARM] Select a number of fp16 rounding functions (authored by dmgreen). · Explain WhyMay 26 2019, 4:11 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 201443 llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMInstrVFP.td
llvm/test/CodeGen/ARM/fp16-fullfp16.ll
llvm/test/CodeGen/ARM/fp16-instructions.ll
|