diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-30 19:24:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-30 19:24:31 +0000 |
commit | d777d405cdda8d418ba8e8818e5c1272dfd999a0 (patch) | |
tree | eccab7593cce33a8734bd8240436373600d92358 /include/llvm/Analysis/AliasSetTracker.h | |
parent | 012618f0fc4df0664e6d7ad6b443173d89820213 (diff) | |
download | external_llvm-d777d405cdda8d418ba8e8818e5c1272dfd999a0.zip external_llvm-d777d405cdda8d418ba8e8818e5c1272dfd999a0.tar.gz external_llvm-d777d405cdda8d418ba8e8818e5c1272dfd999a0.tar.bz2 |
Cache TargetData/AliasAnalysis in the pass instead of calling
getAnalysis<>. getAnalysis<> is apparently extremely expensive.
Doing this speeds up GVN on 403.gcc by 16%!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/AliasSetTracker.h')
0 files changed, 0 insertions, 0 deletions