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

Piyou Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 2 23:45:44 PDT 2023


BeMg updated this revision to Diff 557995.
BeMg added a comment.

1. remain else if by removing continue
2. Keep NonISAExtFeature after override
3. Update testcase with -target-feature +save-restore
4. Improve resolveTargetOverride function


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.557995.patch
Type: text/x-patch
Size: 11475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20231103/e618295c/attachment-0001.bin>


More information about the cfe-commits mailing list