diff options
author | Matt Turner <[email protected]> | 2018-04-26 21:25:42 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2018-05-07 13:50:23 -0700 |
commit | ed5af9437344f932f8cbebfa776f873d16a8aae1 (patch) | |
tree | 6557d41cb571475baf6dd9a3a935869879cabf90 /src/mesa | |
parent | ea1fff4416036066cff51826f95b4703d7211008 (diff) |
nir: Transform discard_if(true) into discard
Noticed while reviewing Tim Arceri's NIR inlining series.
Without his series:
instructions in affected programs: 16 -> 14 (-12.50%)
helped: 2
With his series:
instructions in affected programs: 196 -> 174 (-11.22%)
helped: 22
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions