[clang] [RISCV] Support target attribute for function (PR #65948)

2023-09-11 Thread Jessica Clarke via cfe-commits
jrtc27 wrote: Please do not move from Phabricator to GitHub for existing changes, it loses all the context that was built up from previous reviews. New changes should be proposed on GitHub but existing ones should stay put. https://github.com/llvm/llvm-project/pull/65948

[clang] [RISCV] Support target attribute for function (PR #65948)

2023-09-11 Thread Piyou Chen via cfe-commits
BeMg wrote: This pull request move from https://reviews.llvm.org/D151730. And update with lastest spec. 1. When it exist the duplicate target attribute, select the lastest one. 2. arch's features will override cpu's features https://github.com/llvm/llvm-project/pull/65948

[clang] [RISCV] Support target attribute for function (PR #65948)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Changes The spec of RISC-V target feature is https://github.com/riscv-non-isa/riscv-c-api-doc/pull/35. --- This patch implements target attribute for RISC-V. -- Full diff: https://github.com/llvm/llvm-project/pull/65948.diff 3 Files Affected: -

[clang] [RISCV] Support target attribute for function (PR #65948)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/65948 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Support target attribute for function (PR #65948)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/65948 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Support target attribute for function (PR #65948)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/65948 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Support target attribute for function (PR #65948)

2023-09-11 Thread Piyou Chen via cfe-commits
https://github.com/BeMg review_requested https://github.com/llvm/llvm-project/pull/65948 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Support target attribute for function (PR #65948)

2023-09-11 Thread Piyou Chen via cfe-commits
https://github.com/BeMg created https://github.com/llvm/llvm-project/pull/65948: The spec of RISC-V target feature is https://github.com/riscv-non-isa/riscv-c-api-doc/pull/35. --- This patch implements target attribute for RISC-V. >From 4e661a7cc4775e569bd648b0a119ece51ec031f7 Mon Sep 17