[llvm-commits] [PATCH] Add llvm.fmuladd intrinsic.

Lang Hames lhames at gmail.com
Wed May 30 00:20:25 PDT 2012


>
> Agreed - Legal was a poor choice of terms. I don't know if we want to
> check TLI.isOperationLegal(...) though - an llvm.fma.* call (which is what
> we lower to) will always be legal...
>

Owen pointed out that I'm finding new and interesting ways to abuse the
term 'legal' here. To clarify: If isFMACheap returns true we should
legalize the llvm.fmuladd.* to an llvm.fma.* and leave it to the existing
legalization code to turn the llvm.fma.* into something sane for the target.

- Lang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120530/3b63e1de/attachment.html>


More information about the llvm-commits mailing list