[clang] [Clang][OpenCL][AMDGPU] Allow a kernel to call another kernel (PR #115821)

Aniket Lal via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 29 00:28:44 PST 2024


================
@@ -0,0 +1,43 @@
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -emit-llvm -o - %s | FileCheck %s
----------------
lalaniket8 wrote:

The `update_cc_test_checks.py ` script iterates over clang AST generated by the provided runline. 
Since the stub variant are not present in the AST (emitted to IR), the script does not generate check lines to detect the stub variants, namely, `__clang_ocl_kern_imp_callee_kern` and `__clang_ocl_kern_imp_ext_callee_kern`

https://github.com/llvm/llvm-project/pull/115821


More information about the cfe-commits mailing list