llvm-project
3cf1018f - [SandboxIR] Add test that checks if classof() is missing. (#106313)

Commit
1 year ago
[SandboxIR] Add test that checks if classof() is missing. (#106313) Forgetting to implement an `<Instruction Subclass>::classof()` function does not cause any failures because it falls back to Instruction::classof(). This patch adds an explicit check for all instruction classes to confirm that they have a classof implementation.
Author
vporpo
Parents
Loading