[llvm-branch-commits] [clang] [llvm] [RISCV] Support __builtin_cpu_is (PR #116231)
Sam Elliott via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Nov 14 06:42:47 PST 2024
================
@@ -1,55 +1,131 @@
-// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm < %s| FileCheck %s
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
+// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK-X86
+// RUN: %clang_cc1 -triple riscv64-unknown-linux-gnu -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK-RV64
+#ifdef __x86_64__
----------------
lenary wrote:
Two different files is also ok, and the tests can be run in parallel :)
https://github.com/llvm/llvm-project/pull/116231
More information about the llvm-branch-commits
mailing list