[PATCH] D69350: [ARM] Replace arm_neon_vqadds with sadd_sat

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 10:23:25 PDT 2019


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

This replaces the A32 NEON vqadds, vqaddu, vqsubs and vqsubu intrinsics with the target independent sadd_sat, uadd_sat, ssub_sat and usub_sat. This helps generate vqadds from standard IR nodes, which might be produced from the vectoriser. The old variants are removed in the process.


https://reviews.llvm.org/D69350

Files:
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/test/CodeGen/arm-v8.1a-neon-intrinsics.c
  clang/test/CodeGen/arm_neon_intrinsics.c
  llvm/include/llvm/IR/IntrinsicsARM.td
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMInstrNEON.td
  llvm/test/CodeGen/ARM/addsubo-legalization.ll
  llvm/test/CodeGen/ARM/neon-v8.1a.ll
  llvm/test/CodeGen/ARM/vmul.ll
  llvm/test/CodeGen/ARM/vqadd.ll
  llvm/test/CodeGen/ARM/vqdmul.ll
  llvm/test/CodeGen/ARM/vqsub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69350.226160.patch
Type: text/x-patch
Size: 85807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191023/3ce83cad/attachment.bin>


More information about the llvm-commits mailing list