[PATCH] D128604: [RISCV] Support Zbpbo extension

Shao-Ce SUN via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 27 11:15:59 PDT 2022


sunshaoce added inline comments.


================
Comment at: llvm/lib/Support/RISCVISAInfo.cpp:352
     MinorStr = In.take_while(isDigit);
-    In = In.substr(MajorStr.size() + 1);
+    In = In.substr(MajorStr.size() + MinorStr.size() - 1);
 
----------------
Modifications here have been submitted separately in D128644.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128604



More information about the cfe-commits mailing list