diff options
| author | Bjorn Steinbrink <bsteinbr@gmail.com> | 2015-07-10 22:30:17 +0000 |
|---|---|---|
| committer | Bjorn Steinbrink <bsteinbr@gmail.com> | 2015-07-10 22:30:17 +0000 |
| commit | a6b929dfe2bb672b2569a8ab328da05018b884d9 (patch) | |
| tree | 58ff54f06dafae8d49c86d7602056c7df279e92c /llvm/lib/Transforms | |
| parent | 0d5197380cef82aba7d38244eb9418e51000a3c6 (diff) | |
| download | bcm5719-llvm-a6b929dfe2bb672b2569a8ab328da05018b884d9.tar.gz bcm5719-llvm-a6b929dfe2bb672b2569a8ab328da05018b884d9.zip | |
[InstCombine] Actually combine AA metadata when replacing one load with another
Fixes PR24083
llvm-svn: 241955
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp b/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp index 1a7a2b183fb..e3179dbeece 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp @@ -762,8 +762,6 @@ Instruction *InstCombiner::visitLoadInst(LoadInst &LI) { LLVMContext::MD_nonnull, }; combineMetadata(NLI, &LI, KnownIDs); - if (AATags) - NLI->setAAMetadata(AATags); }; return ReplaceInstUsesWith( |

