diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2017-11-30 13:39:10 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2017-11-30 13:39:10 +0000 |
commit | db7e77047c2432742dd1dd26f3cc96ee180c9c34 (patch) | |
tree | ab15236c0d74712dec35f23b60f5a42b2fa65c26 /llvm/test/CodeGen/PowerPC/testComparesllless.ll | |
parent | bb791b3dbdc009412c1a27b14b22091b15d3728b (diff) | |
download | bcm5719-llvm-db7e77047c2432742dd1dd26f3cc96ee180c9c34.tar.gz bcm5719-llvm-db7e77047c2432742dd1dd26f3cc96ee180c9c34.zip |
[PowerPC] Recommit r314244 with refactoring and off by default
This re-commits everything that was pulled in r314244. The transformation
is off by default (patch to enable it to follow). The code is refactored
to have a single entry-point and provide fine-grained control over patterns
that it selects. This patch also fixes the bugs in the original code.
Everything that failed with the original patch has been re-tested with this
patch (with the transformation turned on). So the patch to turn this on is
soon to follow.
Differential Revision: https://reviews.llvm.org/D38575
llvm-svn: 319434
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/testComparesllless.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/testComparesllless.ll | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/PowerPC/testComparesllless.ll b/llvm/test/CodeGen/PowerPC/testComparesllless.ll index 6ed73d863f8..4971fb75900 100644 --- a/llvm/test/CodeGen/PowerPC/testComparesllless.ll +++ b/llvm/test/CodeGen/PowerPC/testComparesllless.ll @@ -1,10 +1,9 @@ -; XFAIL: * ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -O2 \ -; RUN: -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \ -; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl +; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \ +; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \ -; RUN: -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \ -; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl +; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \ +; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py @glob = common local_unnamed_addr global i16 0, align 2 |