[PATCH] D67800: [InstCombine] Fold a shifty implementation of clamp positive to allOnesValue.

Huihui Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 00:40:23 PDT 2019


huihuiz updated this revision to Diff 221259.
huihuiz retitled this revision from "[InstCombine] Fold a shifty implementation of clamp  (e.g., clamp255)." to "[InstCombine] Fold a shifty implementation of clamp positive to allOnesValue.".
huihuiz edited the summary of this revision.

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67800

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/sub-ashr-or-to-icmp-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67800.221259.patch
Type: text/x-patch
Size: 7413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190923/633a2455/attachment.bin>


More information about the llvm-commits mailing list