diff options
author | Rhys Perry <[email protected]> | 2018-05-19 22:03:39 +0100 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2018-05-28 13:59:56 -0400 |
commit | 57e721a45693e510c6ec25b37ec0ccd23d434553 (patch) | |
tree | 0014a5b6a780ba99c75df78bcbdb22d39ce228d0 /src/getopt | |
parent | a29bc043ae8cf145bdf24b65c9e47c2aa614152f (diff) |
gm107/ir: prevent WaW hazards in instruction scheduling
Previously, findFirstUse() only considered reads "uses". This fixes that
by making it check both an instruction's sources and definitions. It
also shortens both findFistUse() and findFirstDef() along the way.
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions