[llvm] [RISCV][MC] Implement ISA mapping symbols (PR #67541)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 25 22:00:18 PST 2024


================
@@ -44,14 +44,33 @@ RISCVTargetELFStreamer::RISCVTargetELFStreamer(MCStreamer &S,
   // its ParseInstruction may call setForceRelocs as well.
   if (STI.hasFeature(RISCV::FeatureRelax))
     static_cast<RISCVAsmBackend &>(MAB).setForceRelocs();
+
+  // Using RISCVISAInfo, construct ISAString from given features.
----------------
topperc wrote:

Can we use `RISCVFeatures::parseFeatureBits` here?

https://github.com/llvm/llvm-project/pull/67541


More information about the llvm-commits mailing list