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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to