================ @@ -380,7 +380,7 @@ void NVPTXPassConfig::addIRPasses() { addStraightLineScalarOptimizationPasses(); } - addPass(createAtomicExpandPass()); ---------------- arsenm wrote: it's a separate change from this, not related https://github.com/llvm/llvm-project/pull/71220