Check to make sure we can select the instruction before trying to put the
authorChad Rosier <mcrosier@apple.com>
Wed, 16 Nov 2011 18:39:44 +0000 (18:39 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 16 Nov 2011 18:39:44 +0000 (18:39 +0000)
commit508a1f4db16baea5c0d5b1c4797d005dff1ee30f
tree0339bf644917249f2fbf848a0975c33f1a30e721
parent14117c44770c32b56de143a0eff8c2d0fd694e0d
Check to make sure we can select the instruction before trying to put the
operands into a register.  Otherwise, we may materialize dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144805 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp