projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e181b94
)
Make basicaa a bit more aggressive
author
Chris Lattner
<sabre@nondot.org>
Tue, 27 Jul 2004 02:18:52 +0000
(
02:18
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 27 Jul 2004 02:18:52 +0000
(
02:18
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15252
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/BasicAliasAnalysis.cpp
b/lib/Analysis/BasicAliasAnalysis.cpp
index 19397f67da3e3de128bfb923fa9802e980dfbf7a..5c8dbe16c8b49e62dcabc018c86990a261d896a8 100644
(file)
--- a/
lib/Analysis/BasicAliasAnalysis.cpp
+++ b/
lib/Analysis/BasicAliasAnalysis.cpp
@@
-196,6
+196,10
@@
static bool AddressMightEscape(const Value *V) {
return true;
if (AddressMightEscape(I)) return true;
break;
+ case Instruction::Ret:
+ // If returned, the address will escape to calling functions, but no
+ // callees could modify it.
+ break;
default:
return true;
}