diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2017-12-15 01:38:03 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2017-12-15 01:38:03 +0000 |
commit | 20e1861f08c2d52b2a4a898cd7f76ec3c32e1963 (patch) | |
tree | 73d4bf93e2085c1f3dfe4a3ffe5f7b4ff5fd7bbe | |
parent | 9d3546dc524277cf50ecfaca6e0be9ccd1a02b80 (diff) |
Disabling r312514 as it causes miscompiles that show up on bootstrap
The compare elimination peephole introduced in https://reviews.llvm.org/rL312514
causes a miscompile in AMDGPUInstrInfo.cpp which in turn causes some AMDGPU
test case failures in stage2 bootstrap testing. This miscompile didn't cause any
test case failures until https://reviews.llvm.org/rL320614, so it appeared as if
that patch caused these failures.
Disabling this transformation for now to bring the build bots back to green and
the author of the patch will investigate the miscompile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320786 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PowerPC/PPCMIPeephole.cpp | 2 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/cmp_elimination.ll | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCMIPeephole.cpp b/lib/Target/PowerPC/PPCMIPeephole.cpp index 05eb7563893..2f44b8c13a3 100644 --- a/lib/Target/PowerPC/PPCMIPeephole.cpp +++ b/lib/Target/PowerPC/PPCMIPeephole.cpp @@ -729,7 +729,7 @@ bool PPCMIPeephole::simplifyCode(void) { // Eliminate all the TOC save instructions which are redundant. Simplified |= eliminateRedundantTOCSaves(TOCSaves); // We try to eliminate redundant compare instruction. - Simplified |= eliminateRedundantCompare(); + //Simplified |= eliminateRedundantCompare(); return Simplified; } diff --git a/test/CodeGen/PowerPC/cmp_elimination.ll b/test/CodeGen/PowerPC/cmp_elimination.ll index 4839520039a..3251ae2881b 100644 --- a/test/CodeGen/PowerPC/cmp_elimination.ll +++ b/test/CodeGen/PowerPC/cmp_elimination.ll @@ -1,3 +1,4 @@ +; XFAIL: * ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s |