[clang] [Clang] __has_builtin should return false for aux triple builtins (PR #121839)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 8 08:58:44 PST 2025
================
@@ -0,0 +1,12 @@
+// REQUIRES: spirv-registered-target
+// REQUIRES: x86-registered-target
+
+// RUN: %clang_cc1 -fopenmp -triple=spirv64 -fopenmp-is-target-device \
+// RUN: -aux-triple x86_64-linux-unknown -E %s | FileCheck -implicit-check-not=BAD %s
----------------
jhuber6 wrote:
Please add lines for other targets.
https://github.com/llvm/llvm-project/pull/121839
More information about the cfe-commits
mailing list