jlebar wrote: I'm going to merge this since the discussion at this point seems to be about how the NVPTX backend handles FTZ in general, not about the correctness of this patch. Thank you for the reviews! https://github.com/llvm/llvm-project/pull/200732