[llvm-branch-commits] [clang] [llvm] [llvm] Introduce type id operand bundle (PR #87573)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 11 15:01:50 PST 2024


================
@@ -97,6 +97,11 @@ LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) {
          "convergencectrl operand bundle id drifted!");
   (void)ConvergenceCtrlEntry;
 
+  auto *TypeEntry = pImpl->getOrInsertBundleTag("type");
+  assert(TypeEntry->second == LLVMContext::OB_type &&
+         "type operand bundle id drifted!");
+  (void)TypeEntry;
----------------
arsenm wrote:

[[maybe_unused]]

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


More information about the llvm-branch-commits mailing list