[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
Wed Feb 7 02:39:44 PST 2018


thebolt updated this revision to Diff 133185.
thebolt added a comment.

Updated with fixes for the misspelled comments.
Also added two test-cases to catch invalid transformations (such as the ones causing problems earlier).


https://reviews.llvm.org/D42574

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

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


More information about the llvm-commits mailing list