[clang] [llvm] [RISCV][FMV] Support target_version (PR #99040)

2024-07-18 Thread Piyou Chen via cfe-commits
@@ -0,0 +1,8 @@ +// RUN: not %clang_cc1 -triple riscv64 -target-feature +i -emit-llvm -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK-UNSUPPORT-OS + +// CHECK-UNSUPPORT-OS: error: target_clones is currently only supported on Linux BeMg wrote: Added. https://g

[clang] [llvm] [RISCV][FMV] Support target_version (PR #99040)

2024-07-17 Thread Piyou Chen via cfe-commits
https://github.com/BeMg updated https://github.com/llvm/llvm-project/pull/99040 >From 4260683c6d589bc5a64ceffd5e409336f81d85eb Mon Sep 17 00:00:00 2001 From: Piyou Chen Date: Wed, 5 Jun 2024 01:17:03 -0700 Subject: [PATCH 1/5] [RISCV] Add groupid/bitmask for RISC-V extension Base on https://git

[clang] [llvm] [RISCV][FMV] Support target_version (PR #99040)

2024-07-17 Thread Piyou Chen via cfe-commits
https://github.com/BeMg updated https://github.com/llvm/llvm-project/pull/99040 >From 4260683c6d589bc5a64ceffd5e409336f81d85eb Mon Sep 17 00:00:00 2001 From: Piyou Chen Date: Wed, 5 Jun 2024 01:17:03 -0700 Subject: [PATCH 1/3] [RISCV] Add groupid/bitmask for RISC-V extension Base on https://git

[clang] [llvm] [RISCV][FMV] Support target_version (PR #99040)

2024-07-17 Thread Piyou Chen via cfe-commits
@@ -3127,6 +3142,32 @@ bool Sema::checkTargetClonesAttrString( /*IncludeLocallyStreaming=*/false)) return Diag(LiteralLoc, diag::err_sme_streaming_cannot_be_multiversioned); +} else if (TInfo.getTriple().isRISCV()

[clang] [llvm] [RISCV][FMV] Support target_version (PR #99040)

2024-07-16 Thread Craig Topper via cfe-commits
@@ -0,0 +1,8 @@ +// RUN: not %clang_cc1 -triple riscv64 -target-feature +i -emit-llvm -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK-UNSUPPORT-OS topperc wrote: "invalid" in test name is misspelled https://github.com/llvm/llvm-project/pull/99040 _