[PowerPC] Re-enable VSX test line for fma.ll with -mcpu=pwr7
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Sun, 19 Oct 2014 20:27:56 +0000 (20:27 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Sun, 19 Oct 2014 20:27:56 +0000 (20:27 +0000)
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

index faf910fb8417e7224d0fb92a92252d0efa24ce2b..ab5251b2a554f2fab4d1796ad65bd15aa11ae669 100644 (file)
@@ -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