[llvm-commits] [llvm] r55781 - /llvm/trunk/lib/Transforms/Scalar/SimplifyLibCalls.cpp
Dale Johannesen
dalej at apple.com
Mon Sep 22 13:06:52 PDT 2008
On Sep 22, 2008, at 11:55 AMPDT, Duncan Sands wrote:
>> Actually neither readnone nor readonly does a good job of capturing
>> the semantics of (say) log; we want something in between that means
>> "reads rounding mode but not memory". As discussed elsewhere.
>
> And as Chris pointed out somewhere, it's rather pointless to
> try to get correct rounding mode behaviour for calls to functions
> like sin & log, when simpler operations like multiplication and
> division currently don't pay any attention to the rounding mode.
> So I'm sorry I was so annoying about the rounding mode before :)
It's OK. If we accept that the rounding mode handling should be
conservatively correct (which I'm not so sure about), we have to start
somewhere. Might as well be here.
More information about the llvm-commits
mailing list