From f52abeb2fc806fdc08543c385dd2e26e6c170061 Mon Sep 17 00:00:00 2001 From: Simon Moll Date: Wed, 3 Mar 2021 16:59:34 +0100 Subject: [PATCH] [VP] Fixed copy-n-paste bugs in cfp-except registration --- llvm/lib/IR/LLVMContext.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp index 08eb6854860a..99de49418f67 100644 --- a/llvm/lib/IR/LLVMContext.cpp +++ b/llvm/lib/IR/LLVMContext.cpp @@ -80,12 +80,12 @@ LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { auto *CFPRoundEntry = pImpl->getOrInsertBundleTag("cfp-round"); assert(CFPRoundEntry->second == LLVMContext::OB_cfp_round && - "gc-transition operand bundle id drifted!"); + "cfp-round operand bundle id drifted!"); (void)CFPRoundEntry; - auto *CFPExceptEntry = pImpl->getOrInsertBundleTag("cfp-round"); - assert(CFPExceptEntry->second == LLVMContext::OB_cfp_round && - "gc-transition operand bundle id drifted!"); + auto *CFPExceptEntry = pImpl->getOrInsertBundleTag("cfp-except"); + assert(CFPExceptEntry->second == LLVMContext::OB_cfp_except && + "cfp-except operand bundle id drifted!"); (void)CFPExceptEntry; SyncScope::ID SingleThreadSSID =