[clang] [libclc] [llvm] [libclc] Add initial LIT tests (PR #87989)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 7 07:47:38 PDT 2025
================
@@ -0,0 +1,32 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// RUN: %clang -target amdgcn-mesa-mesa3d -O1 -emit-llvm -S -o - --libclc-lib=tahiti-amdgcn-mesa-mesa3d -fno-builtin --no-offloadlib %s | FileCheck %s
----------------
arsenm wrote:
This should specify the -mcpu, and the driver should figure out the appropriate library. It shouldn't be given an explicit subtarget name
https://github.com/llvm/llvm-project/pull/87989
More information about the llvm-commits
mailing list