================
@@ -91,6 +92,47 @@ enum class SIAtomicAddrSpace {
LLVM_MARK_AS_BITMASK_ENUM(/* LargestFlag = */ ALL)
};
+#ifndef NDEBUG
+static const char *scopeToString(SIAtomicScope S) {
----------------
arsenm wrote:
StringRef
https://github.com/llvm/llvm-project/pull/190658