[PATCH] D71940: [PowerPC] Legalize saturating vector add/sub
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 27 09:37:56 PST 2019
nemanjai created this revision.
nemanjai added reviewers: PowerPC, hfinkel.
Herald added subscribers: shchenz, jsji, kbarton, hiraditya.
Herald added a project: LLVM.
These intrinsics and the corresponding ISD nodes were recently added. PPC has instructions that do this for vectors. Legalize them and add patterns to emit the satuarting instructions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71940
Files:
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCInstrAltivec.td
llvm/test/CodeGen/PowerPC/saturating-intrinsics.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71940.235433.patch
Type: text/x-patch
Size: 7029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191227/1dcaedc9/attachment.bin>
More information about the llvm-commits
mailing list