[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
Hello dev,
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!
Regards,
Yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181204/7713a0a8/attachment.html>
More information about the llvm-dev
mailing list