Simplify REG_SEQUENCE lowering.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 1 Dec 2012 01:06:44 +0000 (01:06 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 1 Dec 2012 01:06:44 +0000 (01:06 +0000)
commit8c3dccde92e50f5be7d14cef2a6db34ea6ae2bc0
tree7ec3b3c5a30b24dd7abd26539d400653aad631a6
parent1854e1455af3fdcecdbccd83ddf45cd1ae662aeb
Simplify REG_SEQUENCE lowering.

The TwoAddressInstructionPass takes the machine code out of SSA form by
expanding REG_SEQUENCE instructions into copies. It is no longer
necessary to rewrite the registers used by a REG_SEQUENCE instruction
because the new coalescer algorithm can do it now.

REG_SEQUENCE is just converted to a sequence of sub-register copies now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169067 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
test/CodeGen/ARM/subreg-remat.ll