diff options
author | Timothy Arceri <[email protected]> | 2019-02-13 15:17:44 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-02-14 09:35:32 +1100 |
commit | 0a89c9779a835331dab33dfb852e4b0ab4269de1 (patch) | |
tree | d2914f93e4e87144628bdae63d0e3952bbee9bba /src/compiler/nir/nir_control_flow.h | |
parent | 279060cd32dd673c6a5bf302ceac852f51a6c17c (diff) |
nir: prehash instruction in nir_instr_set_add_or_rewrite()
There is no need to hash the instruction twice, especially as we
end up adding it in the majority of cases.
Reviewed-by: Connor Abbott <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_control_flow.h')
0 files changed, 0 insertions, 0 deletions