diff options
author | Jonathan Marek <jonathan@marek.ca> | 2019-07-24 13:33:17 -0400 |
---|---|---|
committer | Jonathan Marek <jonathan@marek.ca> | 2019-07-24 17:36:21 -0400 |
commit | 97c8314c5fee925cc25daf9ac9ba225f86562805 (patch) | |
tree | 6bddd9ceb1ffc6555980f8b3e01fcedf6c629c41 /.editorconfig | |
parent | 9be902097c72466f60d3178cc6ecaa578fb45d86 (diff) |
nir/algebraic: add scmp algebraic optimizations
When 'x' is the result of a scmp op:
x != 0.0 or x == 1.0: passthrough
x == 0.0 or x != 1.0: invert
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions