aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RenderMachineFunction.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-04 19:43:38 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-04 19:43:38 +0000
commit979869c28e5bc68e2d4d546c7019525177f1d399 (patch)
tree1f83861063d89d95d2483af7892c85d44973ba6c /lib/CodeGen/RenderMachineFunction.cpp
parentc8888c7d809d9b3046c3c3c1b1a0e723b8570391 (diff)
Renumber slot indexes locally when possible.
Initially, slot indexes are quad-spaced. There is room for inserting up to 3 new instructions between the original instructions. When we run out of indexes between two instructions, renumber locally using double-spaced indexes. The original quad-spacing means that we catch up quickly, and we only have to renumber a handful of instructions to get a monotonic sequence. This is much faster than renumbering the whole function as we did before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RenderMachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions