aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/2012-09-25-InlineAsmScalarToVectorConv.ll
blob: 53860ea1b0b90267d92f5094f92426252d814ef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: not llc -mtriple=arm-eabi -mcpu=cortex-a8 %s -o - 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 = !{i32 318437}