[llvm] [TableGen] Gracefully error out in ParseTreePattern when DAG has zero operands so that llvm-tblgen doesn't crash (PR #161417)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 7 10:10:50 PST 2025
================
----------------
arsenm wrote:
Was the replacement the `Operand->isSubClassOf("PointerLikeRegClass")` check above? That's still hardcoding the class hierarchy set somewhere else. Should more directly avoid crashing on the getArg(0)
https://github.com/llvm/llvm-project/pull/161417
More information about the llvm-commits
mailing list