[llvm-dev] how to simplify FP ops with an undef operand?

Chris Lattner via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 1 20:53:39 PST 2018


On Mar 1, 2018, at 2:52 PM, Kaylor, Andrew via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> Other than finding someone to volunteer for the work required, is there a reason not to add a NaN the IR? I can already ask a ConstantFP if it is a NaN. Why not make that easier to represent?

ConstantFP  *is* the way to represent a nan constant.  What is hard about it?

-Chris



More information about the llvm-dev mailing list