aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/LLVMContext.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-02-09 11:00:50 -0500
committerNico Weber <thakis@chromium.org>2021-02-09 11:06:32 -0500
commitde1966e5427985163f8e816834b3a0564b5e24cd (patch)
tree5f4492a7de6ea73b219cf29d6218351a4335f606 /llvm/lib/IR/LLVMContext.cpp
parent2309392449376295a70354273500730be0f28510 (diff)
downloadllvm-de1966e5427985163f8e816834b3a0564b5e24cd.zip
llvm-de1966e5427985163f8e816834b3a0564b5e24cd.tar.gz
llvm-de1966e5427985163f8e816834b3a0564b5e24cd.tar.bz2
Revert "[ObjC][ARC] Use operand bundle 'clang.arc.rv' instead of explicitly"
This reverts commit 4a64d8fe392449b205e59031aad5424968cf7446. Makes clang crash when buildling trivial iOS programs, see comment after https://reviews.llvm.org/D92808#2551401
Diffstat (limited to 'llvm/lib/IR/LLVMContext.cpp')
-rw-r--r--llvm/lib/IR/LLVMContext.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp
index 9f9a30d..4f29210 100644
--- a/llvm/lib/IR/LLVMContext.cpp
+++ b/llvm/lib/IR/LLVMContext.cpp
@@ -78,11 +78,6 @@ LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) {
"gc-transition operand bundle id drifted!");
(void)GCLiveEntry;
- auto *ClangARCRVEntry = pImpl->getOrInsertBundleTag("clang.arc.rv");
- assert(ClangARCRVEntry->second == LLVMContext::OB_clang_arc_rv &&
- "clang.arc.rv operand bundle id drifted!");
- (void)ClangARCRVEntry;
-
SyncScope::ID SingleThreadSSID =
pImpl->getOrInsertSyncScopeID("singlethread");
assert(SingleThreadSSID == SyncScope::SingleThread &&