[PowerPC] Turn on CR-Logical reducer pass
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 22 Oct 2019 12:20:38 +0000 (12:20 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 22 Oct 2019 12:20:38 +0000 (12:20 +0000)
commitf2c8f3b181e1a0f1a45e6893d15317386bf73977
treebd8e501022575fa1fc01c7f937518d1627cfeaa8
parent8e050e41a4b1193592f9b4298f14935f5878ae5f
[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

llvm-svn: 375497
llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
llvm/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll
llvm/test/CodeGen/PowerPC/brcond.ll
llvm/test/CodeGen/PowerPC/pr42492.ll
llvm/test/CodeGen/PowerPC/tocSaveInPrologue.ll
llvm/test/CodeGen/PowerPC/vec-min-max.ll