[PATCH] D30381: [SCCP] Remove manual folding of terminator instructions.

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 25 18:02:03 PST 2017


davide accepted this revision.
davide added a comment.
This revision is now accepted and ready to land.

I actually forgot to recommit this one :(
The issue with the original patch was that I folded the call inside the assert so `ConstantFoldTerminator()` was compiled away in !DEBUG mode.
Oh, well. Your reasoning is correct (actually, was my original reasoning when I committed the patch).


https://reviews.llvm.org/D30381





More information about the llvm-commits mailing list