commit | d777d405cdda8d418ba8e8818e5c1272dfd999a0 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Nov 30 19:24:31 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Nov 30 19:24:31 2008 +0000 |
tree | eccab7593cce33a8734bd8240436373600d92358 | |
parent | 012618f0fc4df0664e6d7ad6b443173d89820213 [diff] |
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