[llvm] [NVPTX] Respect FTZ flag when lowering atomicrmw fadd. (PR #200732)
Justin Lebar via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 20 10:02:00 PDT 2026
jlebar wrote:
> we do not seem to set any explicit FTZ controls, so it's possible that it were the global atomics that switched to CAS. It's correct from the correctness standpoint, as we default to IEEE mode now and want to avoid flushing, but contrary to user's expectations of fast atomics.
Yikes, maybe I ended up fixing a bug for you all. :) Maybe you want per-op denormal control then. But I suspect there is a good reason that denormal control is per-function in LLVM...
https://github.com/llvm/llvm-project/pull/200732
More information about the llvm-commits
mailing list