[llvm-commits] [PATCH] Missing check for FlagNW in ScalarEvolution analysis
Brendon Cahoon
bcahoon at codeaurora.org
Thu Nov 3 10:34:32 PDT 2011
This small patch adds the FlagNW flag to an existing check for NoWrap in
HowManyLessThans. Without the check for FlagNW, the function returns
CountNotCompute on some loops where it should be able to determine the
number of times a back edge will execute. The test case in the patch
shows an example loop.
Thanks,
Brendon Cahoon
--
Qualcomm Innovation Center, Inc is a member of Code Aurora Forum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111103/d5aefc8b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scev-flagnw.patch
Type: application/octet-stream
Size: 2512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111103/d5aefc8b/attachment.obj>
More information about the llvm-commits
mailing list