[llvm] [NVPTX] Fixup some issues introduced by 128-bit atomics (PR #155921)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 28 14:34:51 PDT 2025


================
@@ -2325,13 +2325,15 @@ void NVPTXDAGToDAGISel::selectAtomicSwap128(SDNode *N) {
   MemSDNode *AN = cast<MemSDNode>(N);
   SDLoc dl(N);
 
+  const SDValue Chain = N->getOperand(0);
----------------
AlexMaclean wrote:

It doesn't directly, but is also an issue introduced in https://github.com/llvm/llvm-project/pull/154852.

https://github.com/llvm/llvm-project/pull/155921


More information about the llvm-commits mailing list