mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
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:
parent
e181b94309
commit
db5b80a7f2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user