diff options
author | Preston Gurd <preston.gurd@intel.com> | 2013-02-01 20:41:27 +0000 |
---|---|---|
committer | Preston Gurd <preston.gurd@intel.com> | 2013-02-01 20:41:27 +0000 |
commit | 83474ee594b5b14e9071564814a90571805cc433 (patch) | |
tree | 3e14a0c453560222f29831d51dfb668724d30276 /lib/CodeGen/MachineTraceMetrics.cpp | |
parent | 03fce7074ebf875485a74e026e3e3a165a602166 (diff) |
This patch aims to improve compile time performance by increasing
the SCEV vector size in LoopStrengthReduce. It is observed that
the BaseRegs vector size is 4 in most cases,
and elements are frequently copied when it is initialized as
SmallVector<const SCEV *, 2> BaseRegs.
Our benchmark results show that the compilation time performance
improved by ~0.5%.
Patch by Wan Xiaofei.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174219 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions