arsenm added a comment. This also will allow eliminating all ptrtoints in the case where the atomic is sufficiently aligned in a future patch CHANGES SINCE LAST ACTION https://reviews.llvm.org/D134308/new/ https://reviews.llvm.org/D134308