[PowerPC] Turn on CR-Logical reducer pass
commit8f4a6ba3cd05b1589542c88a6a89d9a6bd204d28
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 22 Oct 2019 12:20:38 +0000 (22 12:20 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 22 Oct 2019 12:20:38 +0000 (22 12:20 +0000)
tree9e2f9536003bd78a8b31dcf622fc52ca92c2bc1e
parent1b04192c778c4e255355a60e2b14801bac614117
[PowerPC] Turn on CR-Logical reducer pass

This re-commits r375152 which was pulled in r375233 because it broke
the EXPENSIVE_CHECKS bot on Windows.

The reason for the failure was a bug in the pass that the commit turned
on by default. This patch fixes that bug and turns the pass back on.
This patch has been verified on the buildbot that originally failed
thanks to Simon Pilgrim.

Differential revision: https://reviews.llvm.org/D52431

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375497 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCReduceCRLogicals.cpp
lib/Target/PowerPC/PPCTargetMachine.cpp
test/CodeGen/PowerPC/2008-10-28-f128-i32.ll
test/CodeGen/PowerPC/brcond.ll
test/CodeGen/PowerPC/pr42492.ll
test/CodeGen/PowerPC/tocSaveInPrologue.ll
test/CodeGen/PowerPC/vec-min-max.ll