[clang] [llvm] [RISCV][FMV] Support target_clones (PR #85786)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 8 17:57:03 PDT 2024


================
@@ -0,0 +1,14 @@
+// RUN: not %clang_cc1 -triple riscv64-linux-gnu -target-feature +i -S -emit-llvm -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK-UNSUPPORT-EXT
+// RUN: not %clang_cc1 -triple riscv64 -target-feature +i -S -emit-llvm -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK-UNSUPPORT-OS
+
+// CHECK-UNSUPPORT-EXT: error: Unsupport 'zicsr' for _riscv_hwprobe
----------------
topperc wrote:

`Unsupported extension 'zicsr' for _riscv_hwprobe`?

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


More information about the cfe-commits mailing list