[PATCH] D34135: [JumpThreading] Use DT to avoid processing dead blocks

Andrei Elovikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 03:21:02 PST 2018


a.elovikov added a comment.

I've just submitted https://llvm.org/PR36133 containing a testcase that show how JumpThreadings miscompiles (without crashes) the code due to DomTree not being updated between the iterations of JumpThreading itself.

I think the miscompilation is worse than a crash so it might be possible to pay the increase in compile time to avoid it. Or maybe someone has a better mitigation?


https://reviews.llvm.org/D34135





More information about the llvm-commits mailing list