[clang] [AMDGPU][clang] provide device implementation for __builtin_logb and … (PR #129347)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 24 13:21:29 PDT 2025
================
@@ -0,0 +1,32 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
+// RUN: %clang --cuda-device-only -nogpuinc -nogpulib -emit-llvm -S -o - %s | FileCheck %s
----------------
jhuber6 wrote:
I feel like this test doesn't need to be HIP, invoking the driver here seems unnecessarily complicated when you can just do `clang -cc1 -triple amdgcn-amd-amdhsa` which doesn't require you do use `__device__` stuff.
https://github.com/llvm/llvm-project/pull/129347
More information about the cfe-commits
mailing list