brintos

brintos / llvm-project-archived public Read only

0
0
Text · 382 B · ff2b9b8 Raw
15 lines · plain
1; Check that `getRegForInlineAsmConstraint` does not crash on empty Constraint.2; RUN: llc -mtriple=mips64 < %s | FileCheck %s3 4define void @foo() {5entry:6  %s = alloca i32, align 47  %x = alloca i32, align 48  call void asm "", "=*imr,=*m,0,*m,~{$1}"(ptr elementtype(i32) %x, ptr elementtype(i32) %s, ptr %x, ptr elementtype(i32) %s)9 10; CHECK: #APP11; CHECK: #NO_APP12 13  ret void14}15