[PATCH] D79087: [SVE][Codegen] Lower legal min & max operations

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 1 17:13:38 PDT 2020


kmclaughlin updated this revision to Diff 261462.
kmclaughlin added a comment.

- Added tests for the intrinsics where the second operand is an immediate
- Changed the range SelectSVESignedArithImm checks for, as the range for the immediates of smin & smax is -128 to +127 (inclusive)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79087/new/

https://reviews.llvm.org/D79087

Files:
  llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/llvm-ir-to-intrinsic.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-imm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79087.261462.patch
Type: text/x-patch
Size: 33637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200502/ace79157/attachment-0001.bin>


More information about the llvm-commits mailing list