Affiliations
Projects
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PR[NVPTX] Set default value of nvptx-allow-ftz-atomics to false
This restores the strict FTZ default originally introduced in #200732 and temporarily relaxed in #206154. Frontends can now explicitly opt in to native FTZ-mismatched atomics on a per-instruction basis using !atomic.ignore.denormal.mode…
LLVM#231429 · by chsigg - Merged PR[flang][CUDA] Emit ignore_denormal_mode for CUDA Fortran atomicadd
CUDA Fortran atomicadd has the same device semantics as CUDA C++ atomicAdd(), targeting PTX atom.add (which flushes f32 denormals to zero on global memory). Set ignore_denormal_mode on mlir::LLVM::AtomicRMWOp when lowering CUDA Fortran…
LLVM#232726 · by chsigg - Merged PR[NVPTX] Attach !atomic.ignore.denormal.mode when upgrading legacy NVVM atomic add intrinsics
Legacy NVVM floating-point atomic add intrinsics (@llvm.nvvm.atomic.load.add.f32.p*, @llvm.nvvm.atomic.load.add.f64.p*, and @llvm.nvvm.atomic.add.gen.f.*) specifically targeted the PTX atom.add instruction, which flushes f32 denormals to…
LLVM#232725 · by chsigg - Merged PR[LTO,lld] Initialize lto::Config::PTO with LibraryOptions
Commit 27e2fc2de79d (#233026) switched llvm-lto2 and lld from cl::ParseCommandLineOptions to cl::parseCommandLineOptions(LibraryOptions, ...) and set lto::Config::LibraryOptions, but left lto::Config::PTO default-constructed with a null…
LLVM#233069 · by chsigg - Merged PR[mlir][ROCDL] Deprecate rocdl.ignore_denormal_mode
The rocdl.ignore_denormal_mode discardable attribute is deprecated in favor of the ignore_denormal_mode unit attribute on llvm.atomicrmw (#217588), which translates to the same !atomic.ignore.denormal.mode metadata. Translation of…
LLVM#231424 · by chsigg - Merged PR[Bazel] Fix libc build after cf0b9d3
cf0b9d3 (#230528) added linux syscall wrappers for exit and exit_group and switched exit.cpp, thread.cpp and the per-arch tls.cpp over to them. Add Bazel targets for the new wrapper headers and depend on them from __support_osutil_exit,…
LLVM#231134 · by chsigg - Merged PR[mlir][LLVM] Add ignore_denormal_mode UnitAttr to LLVM::AtomicRMWOp
Add an ignore_denormal_mode unit attribute to llvm.atomicrmw. It maps 1:1 to the target-independent !atomic.ignore.denormal.mode instruction metadata (#217585): export attaches the metadata when the attribute is set, and import sets the…
LLVM#217588 · by chsigg - Merged PR[clang][NVPTX] Emit !atomic.ignore.denormal.mode for CUDA atomics
CUDA's atomicAdd() family is defined in terms of PTX atom.add, whose denormal behavior is fixed by the hardware. Without any annotation the backend has to assume the function's denormal mode must be honored and expands these into CAS loops…
LLVM#217587 · by chsigg - Merged PR[NVPTX] Honor !atomic.ignore.denormal.mode on atomicrmw fadd
PTX atom.add has a fixed denormal behavior that the program cannot control: atom.add.f32 flushes denormals on global memory but not on shared, and atom.add.f16 never flushes. When that disagrees with the function's denormal mode, the…
LLVM#217586 · by chsigg