ARM: produce friendly error for invalid inline asm
authorTim Northover <tnorthover@apple.com>
Thu, 14 Nov 2013 17:15:39 +0000 (17:15 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 14 Nov 2013 17:15:39 +0000 (17:15 +0000)
commitbf7329d9a0169abbd6ec837dc8b682b2f2fd98cd
tree43da4cec9c16756e2d25ae62996ac91cb24ad01a
parent5e9f8c3948ddeee5d40d525e076fa63fc7b8ae40
ARM: produce friendly error for invalid inline asm

We used to perform an invalid operation on an MVT and crash, which wasn't much
fun.

Patch by Oliver Stannard.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194714 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/2013-11-08-inline-asm-neon-array.ll [new file with mode: 0644]