[PATCH] D151730: [RISCV] Support target attribute for function

Piyou Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 31 06:38:18 PDT 2023


BeMg updated this revision to Diff 557943.
BeMg added a comment.
Herald added a reviewer: aaron.ballman.

Align with spec

1. duplicate target attribute will cause compilation fail


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151730/new/

https://reviews.llvm.org/D151730

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Basic/Targets/RISCV.cpp
  clang/lib/Basic/Targets/RISCV.h
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/CodeGen/RISCV/riscv-func-attr-target-err.c
  clang/test/CodeGen/RISCV/riscv-func-attr-target.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151730.557943.patch
Type: text/x-patch
Size: 10362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20231031/d6ff288f/attachment.bin>


More information about the cfe-commits mailing list