aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-11 00:27:20 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-11 00:27:20 +0000
commit2f1a6c110428d5cdef9fb9e414e083220fd3e47a (patch)
tree01bba3bbc5e0f6eef8bb4f36effc182a8aaf57cb /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent73fab4f3f49b7897284d7f5062f6efcc067eb550 (diff)
downloadllvm-2f1a6c110428d5cdef9fb9e414e083220fd3e47a.zip
llvm-2f1a6c110428d5cdef9fb9e414e083220fd3e47a.tar.gz
llvm-2f1a6c110428d5cdef9fb9e414e083220fd3e47a.tar.bz2
FileManager: Do not cache failed stats, it is easy to construct common
inconsistent situations if we do, and they are not important for PCH performance (which currently only needs the stats to construct the initial FileManager entries). - No test case, sorry, the machinations are too involved. This occurs when, for example, the build makes a PCH file and has a header map or a -I for a directory that does not yet exist. It is possible we will cache the negative stat on that directory, and then in the build we will never find header files inside that dir. For PCH we don't need these stats anyway for performance, so this also makes PCH files smaller w/ no loss. I hope to eventually eliminate the stat cache entirely. llvm-svn: 91082
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions