[llvm] [RISCV] Codegen support for XCVmem extension (PR #76916)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 23:45:26 PST 2024


================
@@ -1210,7 +1210,7 @@ struct RISCVOperand final : public MCParsedAsmOperand {
   }
 
   void addRegRegOperands(MCInst &Inst, unsigned N) const {
-    assert(N == 1 && "Invalid number of operands!");
+    assert(N == 2 && "Invalid number of operands!");
----------------
topperc wrote:

How does this relate to the rest of the patch? A .ll test shouldn't use the AsmParser.

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


More information about the llvm-commits mailing list