[LLVMdev] Optimization of sqrt() with invalid argument

Tim Northover t.p.northover at gmail.com
Fri Sep 26 08:59:29 PDT 2014


> I know it's part of test-suite/external, but this constant fold code has
> been around 5+ years. Was the bug lying dormant all this time, only visible
> on PPC, or something else?

My guess would be that people don't tend to run with -ffast-math (it's
got a reputation for breaking code, even ignoring this particular
issue). Without that, from what I can see the issue won't arise.

But that doesn't account for complete silence, it must happen occasionally.

Cheers.

Tim.



More information about the llvm-dev mailing list