[PATCH] D23296: [ValueTracking] Improve ValueTracking on left shift with nsw flag
Li Huang via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 22 16:26:12 PDT 2016
lihuang updated this revision to Diff 68927.
lihuang added a comment.
Should clear KnownZero and KnownOne bits when there is conflicts to allow propagation of undef. Changed the code in computeKnownBitsFromShiftOperator to have the same logic as that at the end of this function.
https://reviews.llvm.org/D23296
Files:
lib/Analysis/ValueTracking.cpp
test/Analysis/ValueTracking/known-signbit-shift.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23296.68927.patch
Type: text/x-patch
Size: 3922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160822/48738c07/attachment.bin>
More information about the llvm-commits
mailing list