summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/inline-asm-bad-modifier.ll
blob: 9f6e84f2f89c6d6ecb19c24f05439501bc859708 (plain)
1
2
3
4
5
6
7
8
; RUN: not llc -mtriple=x86_64-- < %s 2>&1 | FileCheck %s

;CHECK: error: invalid operand in inline asm: 'vmovd ${1:k}, $0'
define i32 @foo() {
entry:
  %0 = tail call i32 asm sideeffect "vmovd ${1:k}, $0", "=r,x,~{dirflag},~{fpsr},~{flags}"(<2 x i64> <i64 240518168632, i64 240518168632>)
  ret i32 %0
}
OpenPOWER on IntegriCloud