[PATCH] D141937: [SVE] Add intrinsics for integer binops that explicitly undefine the result for inactive lanes.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 07:45:42 PST 2023


paulwalker-arm created this revision.
Herald added subscribers: ctetreau, psnobl, hiraditya, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: All.
paulwalker-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The intent is to lower the clang X form SVE builtins to these
intrinsics. The suffix _x is already in use to signify unpredicated
SVE intrinsics hence my choice to use _u to signify those intrinsics
where the result for inactive lanes is undefined.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141937

Files:
  llvm/include/llvm/IR/IntrinsicsAArch64.td
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-aba.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-undef.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-shifts-undef.ll
  llvm/test/CodeGen/AArch64/sve2-sra.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141937.489822.patch
Type: text/x-patch
Size: 100542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230117/c9b4e273/attachment-0001.bin>


More information about the llvm-commits mailing list