Skip to content

Commit 739274b

Browse files
committed
Addressing PR comments
1 parent ef93b18 commit 739274b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/lib/Dialect/AMDGPU/Transforms/EmulateAtomics.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ void mlir::amdgpu::populateAmdgpuEmulateAtomicsPatterns(
189189
} else {
190190
target.addIllegalOp<RawBufferAtomicFmaxOp>();
191191
}
192+
// TODO: refactor this to avoid hardcoding ISA version:
193+
// https://github.com/llvm/llvm-project/issues/129206
192194
// gfx950 has bf16 atomics
193195
if (chipset < Chipset(9, 5, 0)) {
194196
target.addDynamicallyLegalOp<RawBufferAtomicFaddOp>(

0 commit comments

Comments
 (0)