projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a bug that caused SimplifyCFG to drop DebugLocs.
[oota-llvm.git]
/
lib
/
Transforms
/
InstCombine
/
InstCombineLoadStoreAlloca.cpp
diff --git
a/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
b/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
index e3179dbeece8db8b9b46016e6fd2ba06e46701f7..3614868e19434c324252156a1ac66592155e0bb1 100644
(file)
--- a/
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
+++ b/
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
@@
-754,6
+754,7
@@
Instruction *InstCombiner::visitLoadInst(LoadInst &LI) {
6, AA, &AATags)) {
if (LoadInst *NLI = dyn_cast<LoadInst>(AvailableVal)) {
unsigned KnownIDs[] = {
+ LLVMContext::MD_dbg,
LLVMContext::MD_tbaa,
LLVMContext::MD_alias_scope,
LLVMContext::MD_noalias,