commit | 97e6c1b9579573444487d0ac6d9a6b73c067b495 | [log] [tgz] |
---|---|---|
author | Matt Turner <mattst88@gmail.com> | Thu Mar 26 10:09:21 2015 -0700 |
committer | Matt Turner <mattst88@gmail.com> | Wed Apr 01 13:43:57 2015 -0700 |
tree | 737fcf66adc89ff2aa16e90d174af3eabbfb29d8 | |
parent | a2b6e908cfa1b85bc3eed9d31869ec3768b3daa2 [diff] |
nir: Recognize (a < b || a < c) as a < max(b, c). Doesn't work for analogous && cases, because of NaNs. total instructions in shared programs: 6195712 -> 6194829 (-0.01%) instructions in affected programs: 42000 -> 41117 (-2.10%) helped: 403 Reviewed-by: Eric Anholt <eric@anholt.net>