[PATCH] D151730: [RISCV] Support target attribute for function
Piyou Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 20 03:06:06 PST 2023
BeMg updated this revision to Diff 558134.
BeMg added a comment.
1. reuse the find result
2. replace for loop with llvm::copy_if
3. use explicit std::vector declaration instead of auto
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.558134.patch
Type: text/x-patch
Size: 11525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20231120/7cb933c0/attachment.bin>
More information about the cfe-commits
mailing list