summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Dominators.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-12-13 21:58:15 +0000
committerSanjay Patel <spatel@rotateright.com>2017-12-13 21:58:15 +0000
commit3c7a35de7fbc0a73505545cd9f68a3bbacb68e57 (patch)
tree133516ab85455faa61a9d6194d0b707076c08259 /llvm/lib/IR/Dominators.cpp
parent75f8360e280c1a23b57b61374451281957a0d497 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud