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

Fiona Glaser fglaser at apple.com
Mon Feb 9 11:06:08 PST 2015


> On Feb 9, 2015, at 11:04 AM, Quentin Colombet <qcolombet at apple.com> wrote:
> 
> Hi Fiona,
> 
> Nice catch.
> 
> Would it make sense to do that for InstCombine as well?

Hmm, I’m not sure. I don’t know enough about the structure of LLVM yet to understand which sort of instruction folds should go where, but it sounds superficially reasonable.

Fiona



More information about the llvm-commits mailing list