[llvm-commits] [llvm] r150885 - /llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Feb 24 13:35:01 PST 2012


New version of the patches.

I have tweaked the definition of dominates(Inst, BB) to simplify the
implementation of dominates(Inst, Inst). Thanks a lot to Andy for
pointing out that the loop over the predecessors when handling a phi
was not necessary.

To test this I have reenabled the assert in
ScalarEvolutionExpander.cpp, bootstrapped clang and ran the
test-suite.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-the-implementation.patch
Type: text/x-patch
Size: 10886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120224/e4f38520/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Use-the-DT-dominate-function-in-the-verifier.patch
Type: text/x-patch
Size: 7546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120224/e4f38520/attachment-0001.bin>


More information about the llvm-commits mailing list