[llvm] [TableGen] Fix a potential crash when operand doesn't appear in the instruction pattern (PR #87663)
Ivan Kosarev via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 4 13:44:36 PDT 2024
================
@@ -3872,6 +3872,7 @@ void CodeGenDAGPatterns::parseInstructionPattern(CodeGenInstruction &CGI,
}
I.error("Operand $" + OpName +
" does not appear in the instruction pattern");
+ continue;
----------------
kosarev wrote:
Should we also `continue` on the empty-name error above?
https://github.com/llvm/llvm-project/pull/87663
More information about the llvm-commits
mailing list