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

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 15 19:02:46 PDT 2023


craig.topper added inline comments.


================
Comment at: clang/lib/Basic/Targets/RISCV.cpp:417
+      continue;
+    } else if (Feature.startswith("no-"))
+      Ret.Features.push_back("-" + Feature.split("-").second.str());
----------------
Is this tested? I don't see any "no-" in the the test


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