[llvm] r236684 - [JumpThreading] Simplify comparisons when simplifying branches
Philip Reames
listmail at philipreames.com
Fri May 8 13:43:34 PDT 2015
On 05/08/2015 07:41 AM, Diego Novillo wrote:
> 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.
Er, I have no idea what you're trying to ask. I think this might be a
question about JumpThreading as a whole rather than my patch, but not
really sure. Can you rephrase your question, possibly with an example?
>
>
> Thanks. Diego.
More information about the llvm-commits
mailing list