summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/LLVMContext.cpp
diff options
context:
space:
mode:
authorJakub Staszak <jstaszak@apple.com>2011-07-06 18:22:43 +0000
committerJakub Staszak <jstaszak@apple.com>2011-07-06 18:22:43 +0000
commit3f158fdf6e05efe47a90dd808906ad0f0c2601bf (patch)
treefb200be46863ea4d50df0b4fa76c406d9b9148e5 /llvm/lib/VMCore/LLVMContext.cpp
parent750734c6778d9e9e8200bf0676addb77da713ac2 (diff)
downloadbcm5719-llvm-3f158fdf6e05efe47a90dd808906ad0f0c2601bf.tar.gz
bcm5719-llvm-3f158fdf6e05efe47a90dd808906ad0f0c2601bf.zip
Introduce "expect" intrinsic instructions.
llvm-svn: 134516
Diffstat (limited to 'llvm/lib/VMCore/LLVMContext.cpp')
-rw-r--r--llvm/lib/VMCore/LLVMContext.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/LLVMContext.cpp b/llvm/lib/VMCore/LLVMContext.cpp
index 1bd497d05d4..ebd1e0aa1b0 100644
--- a/llvm/lib/VMCore/LLVMContext.cpp
+++ b/llvm/lib/VMCore/LLVMContext.cpp
@@ -39,6 +39,10 @@ LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) {
// Create the 'tbaa' metadata kind.
unsigned TBAAID = getMDKindID("tbaa");
assert(TBAAID == MD_tbaa && "tbaa kind id drifted"); (void)TBAAID;
+
+ // Create the 'prof' metadata kind.
+ unsigned ProfID = getMDKindID("prof");
+ assert(ProfID == MD_prof && "prof kind id drifted"); (void)ProfID;
}
LLVMContext::~LLVMContext() { delete pImpl; }
OpenPOWER on IntegriCloud