aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-26 03:46:22 +0000
committerChris Lattner <sabre@nondot.org>2009-01-26 03:46:22 +0000
commitdd9babc79a82804010381912d879eafbf4d8fe1a (patch)
tree584875de5c3a02b3828e819d921036781f6dcbfa /llvm/lib/CodeGen/MachineFunction.cpp
parent95b2a206ee4388f58cfdc28ec768e6c7998c80ed (diff)
downloadllvm-dd9babc79a82804010381912d879eafbf4d8fe1a.zip
llvm-dd9babc79a82804010381912d879eafbf4d8fe1a.tar.gz
llvm-dd9babc79a82804010381912d879eafbf4d8fe1a.tar.bz2
Only resolve a macro's instantiation loc once per macro, instead of once
per token lexed from it. This speeds up clang on c99-intconst-1.c from the GCC testsuite from 3.64s to 2.66s (36%). This reduces the number of binary search FileID lookups from 251570522 to 114175649 on this testcase. llvm-svn: 62992
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions