[LLVMdev] induction variable computation not preserving scev

Nick Lewycky nicholas at mxc.ca
Tue Jan 18 00:32:57 PST 2011


Hi,

I tracked down a bug in indvars where we weren't updating SCEV properly. The
attached patch shows the fix to this bug with a testcase, but it also causes
five new test failures.

Would someone be willing to take a look at the failures and figure out why
we're getting worse output once this patch is applied? If I had to hazard a
guess, I'd say that indvars is probably emitting code that can't be analyzed
by SCEV as easily as the original.

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110118/d41d3189/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: indvars.patch
Type: text/x-patch
Size: 2351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110118/d41d3189/attachment.bin>


More information about the llvm-dev mailing list