From ff8acb69e565fc93ad7bd43c31b724c4daf602d1 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Sun, 19 Oct 2014 20:27:56 +0000 Subject: [PATCH] [PowerPC] Re-enable VSX test line for fma.ll with -mcpu=pwr7 The VSX testing variant in test/CodeGen/PowerPC/fma.ll had to be disabled because of unexpected behavior on many of the builders. I tracked this down to a situation that occurs when the VSX attribute is enabled for a target that disables the MI early scheduling pass. This patch adds -mcpu=pwr7 to make this predictable. The other issue will be addressed separately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220171 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/fma.ll | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/CodeGen/PowerPC/fma.ll b/test/CodeGen/PowerPC/fma.ll index faf910fb841..ab5251b2a55 100644 --- a/test/CodeGen/PowerPC/fma.ll +++ b/test/CodeGen/PowerPC/fma.ll @@ -1,7 +1,5 @@ ; RUN: llc < %s -march=ppc32 -fp-contract=fast -mattr=-vsx | FileCheck %s -; Following line disabled for now because some builders are generating -; A forms instead of M forms. -; R-U-N: llc < %s -mtriple=powerpc64-unknown-linux-gnu -fp-contract=fast -mattr=+vsx | FileCheck -check-prefix=CHECK-VSX %s +; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -fp-contract=fast -mattr=+vsx -mcpu=pwr7 | FileCheck -check-prefix=CHECK-VSX %s declare double @dummy1(double) #0 declare double @dummy2(double, double) #0