diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-08-02 00:44:08 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-08-17 23:36:36 -0500 |
commit | 8abd69aa9e8c21b9958f531b03ad9801ec850154 (patch) | |
tree | c8931a9ea57c9e374c7716bdf8b27364b21b7b8d /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 1d99c3d7073888517e3557c1b522ed273bbe188c (diff) | |
download | llvm-8abd69aa9e8c21b9958f531b03ad9801ec850154.zip llvm-8abd69aa9e8c21b9958f531b03ad9801ec850154.tar.gz llvm-8abd69aa9e8c21b9958f531b03ad9801ec850154.tar.bz2 |
[Attributor] Bail early if AAMemoryLocation cannot derive anything
Before this change we looked through all memory operations in a function
even if the first was an unknown call that could do anything. This did
cost a lot of time but there is little use to do so. We also avoid
creating AAs for things that we would have looked at in case no other AA
will; that is the reason for the test changes.
Running only the attributor-cgscc pass on a IR version of
`llvm-test-suite/MultiSource/Applications/SPASS/clause.c` reduced the
time we spend in `AAMemoryLocation::update` from 4% total to
0.9% (disclaimer: no accurate measurements).
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions