aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-30 19:24:31 +0000
committerChris Lattner <sabre@nondot.org>2008-11-30 19:24:31 +0000
commitd777d405cdda8d418ba8e8818e5c1272dfd999a0 (patch)
treeeccab7593cce33a8734bd8240436373600d92358 /lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
parent012618f0fc4df0664e6d7ad6b443173d89820213 (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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.cpp')
0 files changed, 0 insertions, 0 deletions