[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 7 08:48:01 PST 2025


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

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

Hello @arsenm ,

Thank you for the feedback!
Is the current version fine ?
I didn't want to make changes to other errors, so had created a separate if statement to handle zero arguments.

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


More information about the llvm-commits mailing list