diff options
author | Ian Romanick <[email protected]> | 2018-01-11 14:14:25 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-01-30 15:40:14 -0800 |
commit | 821e7a4d329f8460d0d27683580a703d9ed8431c (patch) | |
tree | b37fddbe6a5e14eacf3abba9c704eec6439f9824 /src/compiler/nir/.gitignore | |
parent | 68420d8322c2b304a0b15f94b43dec19f082dfae (diff) |
nir: Separate a weird compare with zero to two compares with zero
min(a+b, c+d) >= 0 becomes (a+b >= 0 && c+d >= 0).
No shader-db changes, but it does prevent 6 to 12 instruction
regressions in the next patch on all measured Intel platforms.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Elie Tournier <[email protected]>
Diffstat (limited to 'src/compiler/nir/.gitignore')
0 files changed, 0 insertions, 0 deletions