diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-12-13 21:58:15 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-12-13 21:58:15 +0000 |
commit | 3c7a35de7fbc0a73505545cd9f68a3bbacb68e57 (patch) | |
tree | 133516ab85455faa61a9d6194d0b707076c08259 /llvm/lib/IR/Dominators.cpp | |
parent | 75f8360e280c1a23b57b61374451281957a0d497 (diff) | |
download | bcm5719-llvm-3c7a35de7fbc0a73505545cd9f68a3bbacb68e57.tar.gz bcm5719-llvm-3c7a35de7fbc0a73505545cd9f68a3bbacb68e57.zip |
[EarlyCSE] recognize commuted and swapped variants of min/max as equivalent (PR35642)
As shown in:
https://bugs.llvm.org/show_bug.cgi?id=35642
...we can have different forms of min/max, so we should recognize those here in EarlyCSE
similar to how we already handle binops and compares that can commute.
Differential Revision: https://reviews.llvm.org/D41136
llvm-svn: 320640
Diffstat (limited to 'llvm/lib/IR/Dominators.cpp')
0 files changed, 0 insertions, 0 deletions