[clang] [Clang][OpenCL][AMDGPU] Allow a kernel to call another kernel (PR #115821)
Christudasan Devadasan via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 27 00:53:13 PST 2024
================
@@ -0,0 +1,43 @@
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -emit-llvm -o - %s | FileCheck %s
----------------
cdevadas wrote:
I believe this test makes more sense to have the handpicked patterns to specifically look for the kernel &stub pair generated for the definitions and the call-site replacement with the stub equivalents. In the auto-generated test check sequence it would be quite difficult to examine the real intention of the test. He used the **regex** in the check lines where future changes might occur.
But if everyone thinks having autogenerated check lines are preferable, go for it.
https://github.com/llvm/llvm-project/pull/115821
More information about the cfe-commits
mailing list