[PATCH] Fix PR21694 - Revert improper use of divide in SCEV HowFarToZero computation
Mark Heffernan
meheff at google.com
Thu Dec 4 19:15:17 PST 2014
Hi atrick, majnemer,
r219517 added a use of SCEV divide in HowFarToZero computation. This divide can produce incorrect results as we are using an unsigned divide for what should be a modular divide. This change reverts back to a more conservative computation using trailing zeros.
http://reviews.llvm.org/D6546
Files:
lib/Analysis/ScalarEvolution.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6546.16977.patch
Type: text/x-patch
Size: 1367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141205/0761d4f9/attachment.bin>
More information about the llvm-commits
mailing list