llvm-project
c60db555 - [RISCV] TableGen-erate RISC-V SDNodes (#138381)

Commit
145 days ago
[RISCV] TableGen-erate RISC-V SDNodes (#138381) This commit moves RISC-V to auto-generate its target-specific SDNode types. The biggest change is that SDNodes can now be validated against their expected type profiles, and that we don't need to edit several different files when declaring a new one. This takes Sergei's work in #119709 and "finishes" it - by moving the final five RISCVISD opcodes into tablegen (including defining their types), and by ensuring the tablegen has expected closing scope comments. Co-authored-by: Sergei Barannikov <barannikov88@gmail.com>
Author
Parents
Loading