[llvm] [NVPTX] Print SyncScope::ID if out of bounds (PR #109871)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 10:37:48 PDT 2024


================
@@ -35,6 +35,7 @@ struct NVPTXScopes {
 
 private:
   SmallMapVector<SyncScope::ID, NVPTX::Scope, 8> Scopes{};
+  LLVMContext *CTX = nullptr;
----------------
Artem-B wrote:

`CTX` appears to be required and should be a reference.

https://github.com/llvm/llvm-project/pull/109871


More information about the llvm-commits mailing list