The GenCrashDialog parameter to report_fatal_error controls whether a backtrace and an invitation to submit a bug report are printed. As a number of our users of report_fatal_error really indicate an exit with an error message for improper input, it's more appropriate to just print the diagnostic and exit rather than suggest a bug report (especially true for handling of errors from RISCVISAInfo). D62236 is one patch I remember making a similar change.
This patch changes most report_fatal_error calls within lib/Target/RISCV to disable the backtrace and bug report suggestion. I've left it as the default (GenCrashDialog=true) for e.g. getRegisterByName, movImm as I think these are likely to represent an error on the LLVM side that deserves a bug report.
This came up in https://github.com/llvm/llvm-project/issues/62729. Happy to split out or change if people feel different criteria should be used. See also: D150669 which is needed for some of these changes to have the desired effect.