SeanMollet added a comment. The commit that added the lowering to atomics is: https://reviews.llvm.org/D34085 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152328/new/ https://reviews.llvm.org/D152328