llvm-project
21f3495a - [TableGen] Warn about InstRWs that match their base SchedRW (#240710)

Commit
1 day ago
[TableGen] Warn about InstRWs that match their base SchedRW (#240710) Add a WarnRedundantInstRW bit to SchedMachineModel. When it's set, SubtargetEmitter builds each InstRW class a second time from the instruction's own SchedRW and warns about an InstRW when every class it covers resolves to the same resources, latencies and read advances. It's on by default and switched off for the models that still warn, so this is NFC for every in-tree target. Fixes #240412.
Author
Parents
Loading