[PATCH] D81339: [ARM] MVE VCVT lowering for f16->f32 extends

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 7 04:13:10 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: efriedma, samparker, SjoerdMeijer, simon_tatham, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.

This adds code to lower f16 to f32 fp_exts's using an MVE VCVT instructions, similar to D81139 <https://reviews.llvm.org/D81139>. Again it goes through the lowering of a BUILD_VECTOR, but is slightly simpler only having to deal with interleaved indices. It adds a VCVTL node to lower to, similar to VCVTN.


https://reviews.llvm.org/D81339

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-fp16convertloops.ll
  llvm/test/CodeGen/Thumb2/mve-shuffleext.ll
  llvm/test/CodeGen/Thumb2/mve-vcvt16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81339.269025.patch
Type: text/x-patch
Size: 12908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200607/47998801/attachment.bin>


More information about the llvm-commits mailing list