ARM: preserve undef flag in pseudo instruction expanders
authorMatthias Braun <matze@braunis.de>
Fri, 4 Oct 2013 16:52:51 +0000 (16:52 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 4 Oct 2013 16:52:51 +0000 (16:52 +0000)
commite1bde51d63f888e0011dfd3b9cfd78b1736d0b5d
tree31e909c7ff0f64152a658308605ac204ebc1c901
parent47e1c700bf3a086f324064a914cfc54f9729d6ef
ARM: preserve undef flag in pseudo instruction expanders

Copy over the whole register machine operand instead of creating a new one
with an incomplete set of flags.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191961 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMExpandPseudoInsts.cpp
test/CodeGen/ARM/select-undef.ll [new file with mode: 0644]