commit | 1d746def1cca72979fa18ce900b248502f7cdcef | [log] [tgz] |
---|---|---|
author | Aart Bik <ajcbik@google.com> | Wed Mar 28 16:30:02 2018 -0700 |
committer | Aart Bik <ajcbik@google.com> | Fri Mar 30 11:05:01 2018 -0700 |
tree | 0123e62bd4c0a776f1ff94f6dea617485dde1b24 | |
parent | dd43fe71d956ca16aecf3a12d12a02dde72cfe82 [diff] |
Recognize nested MIN-MAX operations. Rationale: Prior to this CL, select optimizer and instruction simplifier were unable to deal with more than one select. This CLs improves MIN-MAX recognition by allowing select diamonds to nest deeper and by recognizing constant clipping operations. This yields better optimizable code, as shown with more saturation idioms. Bug: b/74026074 Test: test-art-host,target Change-Id: I8a616a19475f1ae87c2b5210afc76b14265bd571