xref: /llvm-project/llvm/test/tools/llvm-split/AMDGPU/declarations.ll (revision 9347b66cfcd9acf84dbbd500b6344041c587f6a9)
1; RUN: rm -rf %t0 %t1
2; RUN: llvm-split -o %t %s -j 2 -mtriple amdgcn-amd-amdhsa
3; RUN: llvm-dis -o - %t0 | FileCheck --check-prefix=CHECK0 %s
4; RUN: not llvm-dis -o - %t1
5
6; Empty module without any defs should result in a single output module that is
7; an exact copy of the input.
8
9; CHECK0: declare void @A
10; CHECK0: declare void @B
11
12declare void @A()
13declare void @B()
14