OSDN Git Service

Strip old MachineInstrs *after* we know we can put them back.
authorTim Northover <Tim.Northover@arm.com>
Wed, 5 Sep 2012 18:37:53 +0000 (18:37 +0000)
committerTim Northover <Tim.Northover@arm.com>
Wed, 5 Sep 2012 18:37:53 +0000 (18:37 +0000)
commit7bebddf55ece46995f310d79195afb4e5b239886
tree90b2316e8ee16bbf80b7a323b1db4f52a0440fc8
parentb985e9aacdd604a5a503496a1633fa9c6ef7235c
Strip old MachineInstrs *after* we know we can put them back.

Previous patch accidentally decided it couldn't convert a VFP to a
NEON instruction after it had already destroyed the old one. Not a
good move.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163230 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/ARM/domain-conv-vmovs.ll