diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2014-10-17 01:41:22 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2014-10-17 01:41:22 +0000 |
commit | 32e9c6465b3beab8ee95f78eb75c4d159fb060b3 (patch) | |
tree | 9211d7f11cab8ab2ee9e1593e079b184e093f326 /llvm/test/CodeGen/PowerPC/fnabs.ll | |
parent | 5b94115d5054978d59de28422c5f304b105ab03a (diff) | |
download | bcm5719-llvm-32e9c6465b3beab8ee95f78eb75c4d159fb060b3.tar.gz bcm5719-llvm-32e9c6465b3beab8ee95f78eb75c4d159fb060b3.zip |
[PPC] Adjust some PowerPC tests to account for presence/absence of VSX
Patch by Bill Seurer; committed on his behalf.
These test cases generate slightly different code sequences when VSX
is activated and thus fail. The update turns off VSX explicitly for
the existing checks and then adds a second set of checks for most of
them that test the VSX instruction output.
llvm-svn: 220019
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/fnabs.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/fnabs.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/fnabs.ll b/llvm/test/CodeGen/PowerPC/fnabs.ll index 9fa2dcb2909..0e5c7a7c417 100644 --- a/llvm/test/CodeGen/PowerPC/fnabs.ll +++ b/llvm/test/CodeGen/PowerPC/fnabs.ll @@ -1,4 +1,5 @@ -; RUN: llc < %s -march=ppc32 | grep fnabs +; RUN: llc < %s -mattr=-vsx -march=ppc32 | grep fnabs +; RUN: llc < %s -mattr=+vsx -march=ppc32 | grep xsnabsdp declare double @fabs(double) |