Use movt/movw pair to materialize 32 bit constants on ARMv6T2+.
authorAnton Korobeynikov <asl@math.spbu.ru>
Sun, 27 Sep 2009 23:52:58 +0000 (23:52 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sun, 27 Sep 2009 23:52:58 +0000 (23:52 +0000)
commit6a2fa325c1763a0fb27eceaa78b3a9bf683416bf
tree6f1b31c52cf85ce37ae6a044454cf75fb9b39d0d
parent1edaef62a4a0e6166ab30a54150bca2362ad1c5e
Use movt/movw pair to materialize 32 bit constants on ARMv6T2+.
This should be better than single load from constpool.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82948 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/ARM/t2-imm.ll [new file with mode: 0644]