aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/2012-09-25-InlineAsmScalarToVectorConv.ll
blob: 38624e0641f283e1c8f1b5bf66375160c2a5d99e (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: not llc < %s -march=arm -mcpu=cortex-a8 2>&1 | FileCheck %s

; Check for error message:
; CHECK: non-trivial scalar-to-vector conversion, possible invalid constraint for vector type

define void @f() nounwind ssp {
  %1 = call { <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64> } asm "vldm $4, { ${0:q}, ${1:q}, ${2:q}, ${3:q} }", "=r,=r,=r,=r,r"(i64* undef) nounwind, !srcloc !0
  ret void
}

!0 = metadata !{i32 318437}