[llvm-commits] More aggressive speculation in SimplifyCFG

Krzysztof Parzyszek kparzysz at codeaurora.org
Fri Jan 25 13:39:22 PST 2013


On 1/25/2013 3:25 PM, Andrew Trick wrote:
>
> If you disagree [...].

No, I do not disagree at all.  Actually, I would prefer it that way 
myself.  The _only_ reason I put it in SimplifyCFG is because there was 
already code in there that did the exact same thing (except with more 
restrictions).  I like the idea of c14n[1] of the CFG and I don't think 
that it should be limited in its reach to only the early stages of IR 
processing.

Anyways, if the agreement is to factor the speculating code out into a 
separate pass, I can do that.  In doing so, I will remove the current 
speculation from the existing SimplifyCFG.


[1] Yes, you guessed it.  What an awful word it is...  ;)

-Krzysztof


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-commits mailing list