summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/RetireControlUnitStatistics.cpp
diff options
context:
space:
mode:
authorArtur Gainullin <artur.gainullin@intel.com>2018-04-11 10:29:37 +0000
committerArtur Gainullin <artur.gainullin@intel.com>2018-04-11 10:29:37 +0000
commitd928201ac5ef2d61492720bd0f7323f225ffdb3e (patch)
treeee951c76977422f055ec8b0d1b33c0ef551ebae5 /llvm/tools/llvm-mca/RetireControlUnitStatistics.cpp
parent057f5a12594a26f9f2fd6d69446df517e14ec52f (diff)
downloadbcm5719-llvm-d928201ac5ef2d61492720bd0f7323f225ffdb3e.tar.gz
bcm5719-llvm-d928201ac5ef2d61492720bd0f7323f225ffdb3e.zip
Eliminate a bitwise 'not' op of 'not' min/max by inverting the min/max.
Bitwise 'not' of the min/max could be eliminated in the pattern: %notx = xor i32 %x, -1 %cmp1 = icmp sgt[slt/ugt/ult] i32 %notx, %y %smax = select i1 %cmp1, i32 %notx, i32 %y %res = xor i32 %smax, -1 https://rise4fun.com/Alive/lCN Reviewers: spatel Reviewed by: spatel Subscribers: a.elovikov, llvm-commits Differential Revision: https://reviews.llvm.org/D45317 llvm-svn: 329791
Diffstat (limited to 'llvm/tools/llvm-mca/RetireControlUnitStatistics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud