commit | a74f256c58a2c1fca3ce75e5199a04a22768450e | [log] [tgz] |
---|---|---|
author | Daniel Schürmann <daniel.schuermann@campus.tu-berlin.de> | Fri Jan 25 12:48:44 2019 +0100 |
committer | Daniel Schürmann <daniel@schuermann.dev> | Mon Jun 24 18:42:20 2019 +0200 |
tree | 872b355b982704f23b2d1024a6489aae87da97d0 | |
parent | fa6ea16a8daf82886b7fc67c18f9ea87d2388cfd [diff] |
nir/algebraic: add optimization pattern for ('ult', a, ('and', b, a)) and friends. These optimizations are based on the fact that 'and(a,b) <= umin(a,b)'. For AMD, this series moves the optimization from LLVM to NIR, so currently no vkpipeline-db changes here. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>