[llvm] [NFC][AMDGPU] Add some debug prints to SIMemoryLegalizer (PR #190658)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 12:37:06 PDT 2026


================
@@ -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


More information about the llvm-commits mailing list