[PATCH] D133863: [RISCV] Add MC support of RISCV zcmt Extension

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 26 00:45:08 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Support/RISCVISAInfo.cpp:915
+    return createStringError(errc::invalid_argument,
+                             "'zcmt' is incompatible with 'c' or 'zcd' "
+                             "extensions when 'd' extensions is set");
----------------
The ‘or’ in the error message makes it unnecessarily complex for users. Tell them exactly what extensions they used that are in compatible. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133863



More information about the cfe-commits mailing list