[llvm] r236684 - [JumpThreading] Simplify comparisons when simplifying branches
Diego Novillo
dnovillo at google.com
Fri May 8 07:41:49 PDT 2015
On Thu, May 7, 2015 at 3:33 PM, Philip Reames <listmail at philipreames.com> wrote:
> This particular optimization isn't changing the CFG. You might have a
> branch on a constant after this has run, but the CFG is still the same. As
> such, the dom tree should remain valid.
Sure. The folding needs to be done separately. I was curious at
whether this pass would leave the inner sub-trees setup for folding in
the cleanup pass after this pass is done.
Thanks. Diego.
More information about the llvm-commits
mailing list