commit | 51dc145b5d5d16e596adc1045a51bc25c12f894f | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Fri Aug 05 10:59:09 2022 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Aug 05 08:07:25 2022 -0700 |
tree | 830a026fcd155468e4edf4d51e32a1aca9018557 | |
parent | 56f178c2043481b793bb0981acb46a8f8983d381 [diff] |
[InstSimplify] use isImpliedCondition() instead of semi-duplicated code We get a couple of improvements from recognizing swapped operand patterns that were not handled by the replicated code. This should also enable simplifying larger patterns as seen in issue #56653 and issue #56654, but that requires enhancements to isImpliedCondition() itself. GitOrigin-RevId: 019d76196f79fcff3c148d0163786f9cce70a023