[all-commits] [llvm/llvm-project] 8ae895: [NVPTX] Respect FTZ flag when lowering atomicrmw f...

Justin Lebar via All-commits all-commits at lists.llvm.org
Wed Jun 3 08:03:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ae895af32cc2f7c506e39f5736e1115a8afb4ce
      https://github.com/llvm/llvm-project/commit/8ae895af32cc2f7c506e39f5736e1115a8afb4ce
  Author: Justin Lebar <justin.lebar at gmail.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    A llvm/test/CodeGen/NVPTX/atomicrmw-allow-ftz-atomics.ll
    M llvm/test/CodeGen/NVPTX/atomicrmw-sm60.ll
    M llvm/test/CodeGen/NVPTX/atomicrmw-sm70.ll
    M llvm/test/CodeGen/NVPTX/atomicrmw-sm90.ll
    M llvm/test/CodeGen/NVPTX/atomicrmw.py
    M llvm/test/CodeGen/NVPTX/atomics.ll

  Log Message:
  -----------
  [NVPTX] Respect FTZ flag when lowering atomicrmw fadd. (#200732)

Previously we unconditionally lowered LLVM atomicrmw fadd to PTX
atom.add.  This is incorrect, because it ignores the FTZ behavior of the
LLVM and PTX instructions.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list