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

Piyou Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 29 00:17:29 PDT 2023


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

Use getTargetFeatureForExtension instead of isSupportExtension


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
  llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
  llvm/test/CodeGen/RISCV/riscv-func-attr-target.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151730.535653.patch
Type: text/x-patch
Size: 24702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230629/04eb1fdf/attachment-0001.bin>


More information about the cfe-commits mailing list