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

Wang Pengcheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 21 20:58:25 PDT 2023


wangpc added inline comments.


================
Comment at: clang/lib/Basic/Targets/RISCV.cpp:376
+
+      if (AttrString.startswith("+") || AttrString.startswith("-")) {
+        // EXTENSION like arch=+v,+zbb,-c
----------------
`-` is removed in https://github.com/riscv-non-isa/riscv-c-api-doc/pull/35/commits/fc690d6caf71c80500d2572dd04d87773946451a.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151730



More information about the cfe-commits mailing list