Make basicaa a bit more aggressive

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15252 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-07-27 02:18:52 +00:00
parent e181b94309
commit db5b80a7f2

View File

@ -196,6 +196,10 @@ static bool AddressMightEscape(const Value *V) {
return true; return true;
if (AddressMightEscape(I)) return true; if (AddressMightEscape(I)) return true;
break; break;
case Instruction::Ret:
// If returned, the address will escape to calling functions, but no
// callees could modify it.
break;
default: default:
return true; return true;
} }