[PATCH] D47883: [InstSimplify] shl nuw C, %x -> C iff signbit is set on C.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 7 09:25:02 PDT 2018


lebedev.ri updated this revision to Diff 150351.
lebedev.ri added a comment.

Rebased, NFC.


Repository:
  rL LLVM

https://reviews.llvm.org/D47883

Files:
  lib/Analysis/InstructionSimplify.cpp
  test/Transforms/InstCombine/set-lowbits-mask-canonicalize.ll
  test/Transforms/InstSimplify/constantfold-shl-nuw-C-to-C.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47883.150351.patch
Type: text/x-patch
Size: 5708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180607/890c575e/attachment.bin>


More information about the llvm-commits mailing list