[llvm] [RISCV][Disassemble] Ensure the comment stream of the disassembler is set. (PR #125962)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 5 16:13:32 PST 2025


================
@@ -131,6 +131,11 @@ class MCDisassembler {
   ///                   MCDisassembler::SoftFail if the instruction was
   ///                                            disassemblable but invalid,
   ///                   MCDisassembler::Fail if the instruction was invalid.
+  ///
+  /// Note: to avoid potential issues caused by the field
----------------
topperc wrote:

The majority of the targets don't do this.

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


More information about the llvm-commits mailing list