13 lines · plain
1; RUN: llvm-as < %s | llvm-dis > %t1.ll2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll3; RUN: diff %t1.ll %t2.ll4 5define spir_func void @foo() {6 ret void7}8 9define spir_kernel void @bar() {10 call spir_func void @foo( )11 ret void12}13