[clang] [llvm] [NFC][AMDGPU] Pre-commit clang and llvm tests for dynamic allocas (PR #120063)

via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 17 01:56:28 PST 2024


================
@@ -0,0 +1,532 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -x hip -emit-llvm -fcuda-is-device -o - %s | FileCheck %s
----------------
easyonaadit wrote:

> I think there are already some clang tests for this

Yes, there are some OpenCL tests similar to this. 

> not sure what the point of this part is.

I was looking to test these builtins for HIP. Is this needed?

> We do need unit tests which execute the code

We have plans of adding hip-tests, or do you want the code to be exercised in the llvm-test-suite

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


More information about the cfe-commits mailing list