[PATCH] D12706: Handle non-constant shifts in computeKnownBits, and use computeKnownBits for constant folding in InstCombine/Simplify

hfinkel@anl.gov via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 12 17:02:15 PDT 2015


hfinkel updated this revision to Diff 37199.
hfinkel added a comment.

Rebased (and add a better comment explaining the function parameters of computeKnownBitsFromShiftOperator).


http://reviews.llvm.org/D12706

Files:
  lib/Analysis/InstructionSimplify.cpp
  lib/Analysis/ValueTracking.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/all-bits-shift.ll
  test/Transforms/InstCombine/div.ll
  test/Transforms/InstCombine/load-combine-metadata.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12706.37199.patch
Type: text/x-patch
Size: 12382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151013/94cade96/attachment.bin>


More information about the llvm-commits mailing list