ART: 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
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
4 files changed