diff options
| author | Hal Finkel <hfinkel@anl.gov> | 2013-03-15 13:21:21 +0000 |
|---|---|---|
| committer | Hal Finkel <hfinkel@anl.gov> | 2013-03-15 13:21:21 +0000 |
| commit | b0fac42987600989a477a1e09e29ee10ca4ed5b7 (patch) | |
| tree | 0ca34a6c293445836311e8e7b099ece50e38ae41 /llvm/test | |
| parent | e4385c4b98a0ca8de6013583b70e5e431f4478cd (diff) | |
| download | bcm5719-llvm-b0fac42987600989a477a1e09e29ee10ca4ed5b7.tar.gz bcm5719-llvm-b0fac42987600989a477a1e09e29ee10ca4ed5b7.zip | |
Protect PPC Altivec patterns with a predicate
In preparation for the addition of other SIMD ISA extensions (such as QPX) we
need to make sure that all Altivec patterns are properly predicated on having
Altivec support.
No functionality change intended (one test case needed to be updated b/c it
assumed that Altivec intrinsics would be supported without enabling Altivec
support).
llvm-svn: 177152
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll b/llvm/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll index 82ef2b82cbe..b6feb5abbc3 100644 --- a/llvm/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll +++ b/llvm/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=ppc64 | grep dst | count 4 +; RUN: llc < %s -march=ppc64 -mattr=+altivec | grep dst | count 4 define hidden void @_Z4borkPc(i8* %image) { entry: |

