diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-03-26 18:07:53 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-03-26 18:07:53 +0000 |
commit | aadf10435ae70d7690b0e8cd5ac790db1d338734 (patch) | |
tree | b3865bddb3bc69c367eb9eb8a977c833fc401878 /lldb/source/Commands/CommandObjectBreakpoint.cpp | |
parent | 9fb5ab558b9874ac7065337a9ac274e2d857da16 (diff) | |
download | llvm-aadf10435ae70d7690b0e8cd5ac790db1d338734.zip llvm-aadf10435ae70d7690b0e8cd5ac790db1d338734.tar.gz llvm-aadf10435ae70d7690b0e8cd5ac790db1d338734.tar.bz2 |
BasicAA: Only query twice if the result of the more general query was MayAlias
This is a compile time optimization. Before the patch we would do two traversals
on each call to aliasGEP - one with a set size parameter one with UnknownSize.
We can do better by first checking the result of the alias query with
UnknownSize.
Only if this one returns MayAlias do we query a second time using size and type.
This recovers an about 7% compile time regression on spec/ammp.
radar://12349960
llvm-svn: 178045
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
0 files changed, 0 insertions, 0 deletions