[llvm] [CodeGen][NFC] Add laneBitmask as new MachineOperand Type (PR #151944)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 06:27:59 PDT 2025


================
@@ -2870,6 +2871,32 @@ bool MIParser::parseCustomRegisterMaskOperand(MachineOperand &Dest) {
   return false;
 }
 
+bool MIParser::parseLaneMaskOperand(MachineOperand &Dest) {
+  assert(Token.is(MIToken::kw_lanemask));
+
+  lex();
----------------
arsenm wrote:

Should get MIR print/parse tests and cover the error cases too

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


More information about the llvm-commits mailing list