aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-03-01 21:13:53 +0000
committerCameron Zwarich <zwarich@apple.com>2011-03-01 21:13:53 +0000
commitb7f8eaafa371c1e8b462c470ee4f2001f73e91f8 (patch)
tree3d50a84a332641a7843f22e4f5cd3f799346972f /llvm/unittests/Support/MathExtrasTest.cpp
parent5f9f081d76bd7d0bc4b7d94fe1f42cffe38821b5 (diff)
downloadllvm-b7f8eaafa371c1e8b462c470ee4f2001f73e91f8.zip
llvm-b7f8eaafa371c1e8b462c470ee4f2001f73e91f8.tar.gz
llvm-b7f8eaafa371c1e8b462c470ee4f2001f73e91f8.tar.bz2
Stop computing the number of uses twice per value in CodeGenPrepare's sinking of
addressing code. On 403.gcc this almost halves CodeGenPrepare time and reduces total llc time by 9.5%. Unfortunately, getNumUses() is still the hottest function in llc. llvm-svn: 126782
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions