[PATCH] SelectionDAG: fold (fp_to_u/sint (u/sint_to_fp val)) when possible

Fiona Glaser fglaser at apple.com
Mon Feb 9 13:44:54 PST 2015


>> 
>> Target-specific expansion or combine can end-up with this situation when it was not catched by ints-combine.
>> 
>> So I believe we want it to be done *both* in inst-combine *and* in the DAG.
> 
> I agree. That is also what I meant in my initial message.
> 
> Cheers,
> Q.

Okay, should I merge the two patches then (and maybe include both tests)?

Fiona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/8d3f1216/attachment.html>


More information about the llvm-commits mailing list