[llvm] [SelectionDAG] Wire up -gen-sdnode-info TableGen backend (PR #125358)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 21 12:25:25 PST 2025


mshockwave wrote:

> `SDNodeInfo::verifyNode` needs the generated node descriptions to do the checks, and those are currently generated only for target-specific nodes.

Oh yeah you're right 

> Generating descriptions for non-target nodes is left as a (distant) future work; there are several difficulties (mainly, various kinds of irregularities) that I don't have time to deal with right now.

I vaguely remember we do some sort of check on chain / glue operands, maybe when we're linearizing the DAG, I can't recall the exact location. But in any case, I agree this can leave for future works.

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


More information about the llvm-commits mailing list