[llvm] r220171 - [PowerPC] Re-enable VSX test line for fma.ll with -mcpu=pwr7

Bill Schmidt wschmidt at linux.vnet.ibm.com
Sun Oct 19 13:27:56 PDT 2014


Author: wschmidt
Date: Sun Oct 19 15:27:56 2014
New Revision: 220171

URL: http://llvm.org/viewvc/llvm-project?rev=220171&view=rev
Log:
[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.

Modified:
    llvm/trunk/test/CodeGen/PowerPC/fma.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/fma.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fma.ll?rev=220171&r1=220170&r2=220171&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fma.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fma.ll Sun Oct 19 15:27:56 2014
@@ -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





More information about the llvm-commits mailing list