brintos

brintos / llvm-project-archived public Read only

0
0
Text · 480 B · 2929b11 Raw
15 lines · plain
1; RUN: not llc -mtriple=x86_64 < %s 2>&1 | FileCheck %s2 3@a = external global [4 x i32], align 164 5; CHECK-COUNT-2: error: invalid operand for inline asm constraint 'Ws'6; CHECK-NOT:     error:7define void @test(i64 %i) {8entry:9  %x = alloca i32, align 410  %ai = getelementptr inbounds [4 x i32], ptr @a, i64 0, i64 %i11  call void asm sideeffect "", "^Ws,~{dirflag},~{fpsr},~{flags}"(ptr %x)12  call void asm sideeffect "", "^Ws,~{dirflag},~{fpsr},~{flags}"(ptr %ai)13  ret void14}15