brintos

brintos / llvm-project-archived public Read only

0
0
Text · 545 B · 2d942c0 Raw
16 lines · plain
1; RUN: not llc < %s -mtriple=x86_64-unknown-unknown 2>&1 | FileCheck %s2 3; CHECK: error: invalid operand in inline asm: 'mov %ah, ${0:h}'4define void @test1() {5entry:6  %0 = tail call i8 asm sideeffect "mov %ah, ${0:h}", "=r,~{eax},~{ebx},~{ecx},~{edx},~{dirflag},~{fpsr},~{flags}"()7  ret void8}9 10;CHECK: error: invalid operand in inline asm: 'vmovd ${1:k}, $0'11define i32 @foo() {12entry:13  %0 = tail call i32 asm sideeffect "vmovd ${1:k}, $0", "=r,x,~{dirflag},~{fpsr},~{flags}"(<2 x i64> <i64 240518168632, i64 240518168632>)14  ret i32 %015}16