Generate an error message instead of asserting or segfaulting when we have a
authorBill Wendling <isanbard@gmail.com>
Wed, 26 Sep 2012 06:16:18 +0000 (06:16 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 26 Sep 2012 06:16:18 +0000 (06:16 +0000)
commitf18eb5887f913bd9aa372005599d7375333cdce2
tree84c294688c80fb9656e455fa63bd3f1eda3b1bcc
parent4e9485d7322b6ce925b9390d1459349c1380c9a5
Generate an error message instead of asserting or segfaulting when we have a
scalar-to-vector conversion that we cannot handle. For instance, when an invalid
constraint is used in an inline asm statement.
<rdar://problem/12284092>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164662 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/ARM/2012-09-25-InlineAsmScalarToVectorConv2.ll [new file with mode: 0644]