[PATCH] D41348: [ARM] Lower unsigned saturation to USAT
Marten Svanfeldt via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 18 04:49:13 PST 2017
thebolt created this revision.
thebolt added reviewers: t.p.northover, pbarrio.
Herald added subscribers: kristof.beyls, javed.absar, aemerson.
Implement lower of unsigned saturation on an interval [0, k] where k + 1 is a power of two using USAT instruction in a similar way to how [~k, k] is lowered using SSAT on ARM models that supports it.
https://reviews.llvm.org/D41348
Files:
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/ARM/usat.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41348.127336.patch
Type: text/x-patch
Size: 12779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171218/cf159f7d/attachment.bin>
More information about the llvm-commits
mailing list