Unverified Commit 67beebfc authored by Michael Maitland's avatar Michael Maitland Committed by GitHub
Browse files

[TableGen][SubtargetEmitter] Refactor hasReadOfWrite to CodeGenProcModel (#92032)

SubtargetEmitter::GenSchedClassTables takes a CodeGenProcModel, but
calls hasReadOfWrite which loops over all ProcModels. We move
hasReadOfWrite to CodeGenProcModel and remove the loop over all
ProcModels. This leads to a 144% speedup on the RISC-V backend of our
downstream.
parent f918c056
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment