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/2007-09-08-unaligned.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/2007-09-08-unaligned.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/2007-09-08-unaligned.ll | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/2007-09-08-unaligned.ll b/llvm/test/CodeGen/PowerPC/2007-09-08-unaligned.ll index 898c470b172..89a4b72288d 100644 --- a/llvm/test/CodeGen/PowerPC/2007-09-08-unaligned.ll +++ b/llvm/test/CodeGen/PowerPC/2007-09-08-unaligned.ll @@ -1,7 +1,11 @@ -; RUN: llc < %s | grep stfd | count 3 -; RUN: llc < %s | grep stfs | count 1 -; RUN: llc < %s | grep lfd | count 2 -; RUN: llc < %s | grep lfs | count 2 +; RUN: llc -mattr=-vsx < %s | grep stfd | count 3 +; RUN: llc -mattr=-vsx < %s | grep stfs | count 1 +; RUN: llc -mattr=-vsx < %s | grep lfd | count 2 +; RUN: llc -mattr=-vsx < %s | grep lfs | count 2 +; RUN: llc -mattr=+vsx < %s | grep stxsdx | count 3 +; RUN: llc -mattr=+vsx < %s | grep stfs | count 1 +; RUN: llc -mattr=+vsx < %s | grep lxsdx | count 2 +; RUN: llc -mattr=+vsx < %s | grep lfs | count 2 ; ModuleID = 'foo.c' target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128" target triple = "powerpc-apple-darwin8" |

