[PATCH] D42574: [ARM] Lower lower saturate to 0 and lower saturate to -1 using bit-operations

Marten Svanfeldt via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 02:28:50 PST 2018


thebolt updated this revision to Diff 131756.
thebolt marked 2 inline comments as done.
thebolt added a comment.

Incorporated changes based on comment from Roger Ferrer regarding unnecessary KVal variable.

Added some more negative tests to make sure no comparisons are generated when not expected.


https://reviews.llvm.org/D42574

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  test/CodeGen/ARM/atomic-op.ll
  test/CodeGen/ARM/sat-to-bitop.ll
  test/CodeGen/ARM/select.ll
  test/CodeGen/Thumb/select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42574.131756.patch
Type: text/x-patch
Size: 7387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180129/ad56c298/attachment.bin>


More information about the llvm-commits mailing list