[llvm-dev] [Unsafe-fp-math] Merge attribute for inlining
Yan Luo via llvm-dev
llvm-dev at lists.llvm.org
Tue Dec 4 10:34:04 PST 2018
I have a question about unsafe-fp-math function attribute. Currently LLVM merges this attribute for inlining with logical AND. That means if caller has this attribute set but callee has not, LLVM will reset this attribute on caller. But shouldn't we respect this attribute on caller? If caller wants to perform unsafe fp operation, any code that gets inlined should be allowed to do unsafe fp operation, right? Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev