[llvm] r219462 - SimplifyCFG: Don't convert phis into selects if we could remove undef behavior

Arnold aschwaighofer at apple.com
Fri Oct 10 16:15:57 PDT 2014



> On Oct 10, 2014, at 2:07 PM, Philip Reames <listmail at philipreames.com> wrote:
> 
> What if a frontend creates the select?  We should handle that case     regardless of what the optimizer creates.  Given we have to handle it, I don't see the value in avoiding creating it elsewhere in the optimizer.  


I see your point here.


>> 
>> To me, the argument for also handling selects is that some else might generate a select %cond, null ...
> I think we're in agreement here.  



More information about the llvm-commits mailing list