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

Piyou Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 12 03:45:11 PDT 2023


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

Update to lastest spec

1. When it exist the duplicate target attribute, select the lastest one.
2. arch's features will override cpu's features. TargetFeature will override commandline feature.
3. enhence the testcase


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151730

Files:
  clang/lib/Basic/Targets/RISCV.cpp
  clang/lib/Basic/Targets/RISCV.h
  clang/test/CodeGen/RISCV/riscv-func-attr-target.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151730.556544.patch
Type: text/x-patch
Size: 8373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230912/57aef653/attachment.bin>


More information about the cfe-commits mailing list