[PowerPC] Turn on CR-Logical reducer pass
commit4a0e8977ca0ab9377b5b18a0673d255e79e81c4a
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
parent77450cd6096f48aee164cf7efc12bd20cd563ffc
[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