diff options
author | Piotr Padlewski <prazek@google.com> | 2015-09-17 20:25:07 +0000 |
---|---|---|
committer | Piotr Padlewski <prazek@google.com> | 2015-09-17 20:25:07 +0000 |
commit | ea09288ee7728917283573b206fae53e6a3347e8 (patch) | |
tree | 440874fe98e5282014feba8b22557bfbe9542c14 /llvm/lib/CodeGen | |
parent | 4ea96421d151e5fab48b10122d54b73cee75400b (diff) | |
download | bcm5719-llvm-ea09288ee7728917283573b206fae53e6a3347e8.tar.gz bcm5719-llvm-ea09288ee7728917283573b206fae53e6a3347e8.zip |
Added MD_invariant_group to LLVMContext
http://reviews.llvm.org/D12926
llvm-svn: 247931
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index d0c8fb95d48..8faa35b17ef 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -4836,6 +4836,6 @@ bool CodeGenPrepare::splitBranchCondition(Function &F) { } void CodeGenPrepare::stripInvariantGroupMetadata(Instruction &I) { - if (auto *InvariantMD = I.getMetadata("invariant.group")) + if (auto *InvariantMD = I.getMetadata(LLVMContext::MD_invariant_group)) I.dropUnknownNonDebugMetadata(InvariantMD->getMetadataID()); } |