diff options
author | Ian Romanick <[email protected]> | 2019-11-16 13:19:47 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2019-11-22 08:16:06 -0800 |
commit | ca353285cb07c36bec0b7aa2f96df6d4c6827ff0 (patch) | |
tree | 82950fb66ac285c3e81028b823a2899565bf6685 /src/gallium/drivers/iris | |
parent | ccefce46cb8e9030b3a9134964ab2f660f66391c (diff) |
nir/range_analysis: Make sure the table validation only occurs once
All of the tables are static const, so they only need to be validated
once. As noted in the previous commit, the compiler should be able to
eliminate all of this code when the assertions would pass. Even with
the help of the previous commit, this does not always occur.
-Og: -95.688 +/- 3.91935 (-24.9562% +/- 1.0222%) N=5
-O1: No difference proven at 95.0% confidence. N=5
-O2: -1.962 +/- 0.85001 (-0.860013% +/- 0.372589%) N=5
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris')
0 files changed, 0 insertions, 0 deletions