[llvm] [TableGen] Gracefully error out in ParseTreePattern when DAG has zero operands so that llvm-tblgen doesn't crash (PR #161417)

Prerona Chaudhuri via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 14 22:34:15 PST 2025


================

----------------
pchaudhuri-nv wrote:

I think we would still need changes to UpdateNodeTypeFromInst, because after returning nullptr from ParseTreePattern, we invoke ParseOnePattern which invokes UpdateNodeTypeFromInst

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


More information about the llvm-commits mailing list