xref: /aosp_15_r20/external/llvm/test/CodeGen/BPF/vararg1.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: not llc -march=bpf < %s 2> %t1
2*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck %s < %t1
3*9880d681SAndroid Build Coastguard Worker; CHECK: with VarArgs
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind readnone uwtable
6*9880d681SAndroid Build Coastguard Workerdefine void @foo(i32 %a, ...) #0 {
7*9880d681SAndroid Build Coastguard Workerentry:
8*9880d681SAndroid Build Coastguard Worker  ret void
9*9880d681SAndroid Build Coastguard Worker}
10