Fix ARM paired GPR COPY lowering
authorJF Bastien <jfb@google.com>
Fri, 12 Jul 2013 23:33:03 +0000 (23:33 +0000)
committerJF Bastien <jfb@google.com>
Fri, 12 Jul 2013 23:33:03 +0000 (23:33 +0000)
commit1b6f5a29ab62fd3e763983f31200b4cc69fa752b
tree96e466e9cfd5e6c32acba50732374fb26f590405
parentbee07bddeaf30aba392c1abd2815cd07545ef2c0
Fix ARM paired GPR COPY lowering

ARM paired GPR COPY was being lowered to two MOVr without CC. This
patch puts the CC back.

My test is a reduction of the case where I encountered the issue,
64-bit atomics use paired GPRs.

The issue only occurs with selectionDAG, FastISel doesn't encounter it
so I didn't bother calling it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186226 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/ARM/copy-paired-reg.ll [new file with mode: 0644]