commit | db5b80a7f2521a1f9ca8f339fdac2b6e11cc422a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Jul 27 02:18:52 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Jul 27 02:18:52 2004 +0000 |
tree | 7db07df490081a61ccbd01ffefe251da631dd174 | |
parent | e181b94309e34f9c16830a0a2a22e1c3c4b7f7ac [diff] [blame] |
Make basicaa a bit more aggressive git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15252 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index 19397f6..5c8dbe1 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp
@@ -196,6 +196,10 @@ 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; }