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)
commitda2b6b381a0c7410895d367f4c1fc4f18ffa7d97
treec0d159d856ca72ff8857f68209db0e58651e1463
parent06d87f1e5d6215e5dbc2a8b15608bbdd7bc1da90
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.

llvm-svn: 169067
llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
llvm/test/CodeGen/ARM/subreg-remat.ll