[llvm] [AMDGPU][SplitModule] Allow non-kernels to be treated as roots (PR #95902)
Anshil Gandhi via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 18 06:29:40 PDT 2024
================
@@ -0,0 +1,50 @@
+; RUN: llvm-split -o %t %s -j 3 -mtriple amdgcn-amd-amdhsa
+; RUN: llvm-dis -o - %t0 | FileCheck --check-prefix=CHECK0 %s
+; RUN: llvm-dis -o - %t1 | FileCheck --check-prefix=CHECK1 %s
+; RUN: llvm-dis -o - %t2 | FileCheck --check-prefix=CHECK2 %s
+
+; 3 functions with each their own dependencies should go into 3
+; distinct partitions.
+
+; CHECK0-NOT: define
----------------
gandhi56 wrote:
Just curious, what is the purpose of `CHECK0-NOT` before the subsequent `CHECK0`s?
https://github.com/llvm/llvm-project/pull/95902
More information about the llvm-commits
mailing list