https://github.com/ldionne approved this pull request. LGTM w/ simplification for the atomic flag type. My understanding after investigating a bit is that this is a pure simplification and can't result in breakage. https://github.com/llvm/llvm-project/pull/199674