summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/MemoryBuffer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-21 23:15:48 +0000
committerChris Lattner <sabre@nondot.org>2009-12-21 23:15:48 +0000
commitbf200184237f7eca11c66bbbc171e303cf68c160 (patch)
tree29135fad41c02dab3a07f5968bc725a3a0a91293 /llvm/lib/Support/MemoryBuffer.cpp
parente79105b591ea51d2e4a9ade5e656590f20be57ba (diff)
downloadbcm5719-llvm-bf200184237f7eca11c66bbbc171e303cf68c160.tar.gz
bcm5719-llvm-bf200184237f7eca11c66bbbc171e303cf68c160.zip
Add a fastpath to Load GVN to special case when we have exactly one dominating
load to avoid even messing around with SSAUpdate at all. In this case (which is very common, we can just use the input value directly). This speeds up GVN time on gcc.c-torture/20001226-1.c from 36.4s to 16.3s, which still isn't great, but substantially better and this is a simple speedup that applies to lots of different cases. llvm-svn: 91851
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud