[llvm] [NVPTX] Add Volta Load/Store Atomics (.relaxed, .acquire, .release) and Volatile (.mmio/.volatile) support (PR #98022)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 19 12:23:09 PDT 2024
Artem-B wrote:
Looks like the patch is causing crashes for us. We need to revert it.
```
LLVM ERROR: PTX does not support "atomic" for orderings different than"NotAtomic" or "Monotonic" for sm_60 or older, but order is: "unordered".
*** SIGABRT received by PID 7982 (TID 7982) on cpu 1 from PID 7982; stack trace: ***
PC: @ 0x7efc5b22a981 (unknown) gsignal
@ 0x7ef78de77706 1904 FailureSignalHandler()
@ 0x7efc65005e80 710448744 (unknown)
@ 0x7efc5b22a981 136 gsignal
@ 0x7efc5b22bdf7 304 abort
@ 0x7efaedf4b525 208 llvm::report_fatal_error()
@ 0x7efaedf4b561 64 llvm::report_fatal_error()
@ 0x7efb11bdfee2 416 getCodeMemorySemantic()
@ 0x7efb11bd6f9e 432 llvm::NVPTXDAGToDAGISel::tryStore()
@ 0x7efb11bd5f51 32 llvm::NVPTXDAGToDAGISel::Select()
@ 0x7efb0ff7b421 288 llvm::SelectionDAGISel::DoInstructionSelection()
@ 0x7efb0ff7a1fb 640 llvm::SelectionDAGISel::CodeGenAndEmitDAG()
@ 0x7efb0ff7786d 784 llvm::SelectionDAGISel::SelectAllBasicBlocks()
@ 0x7efb0ff74b7d 208 llvm::SelectionDAGISel::runOnMachineFunction()
@ 0x7efb0ff726c6 64 llvm::SelectionDAGISelLegacy::runOnMachineFunction()
@ 0x7efb0faca810 976 llvm::MachineFunctionPass::runOnFunction()
```
I will extract the reproducer a bit later.
https://github.com/llvm/llvm-project/pull/98022
More information about the llvm-commits
mailing list