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 | 044f841267139c25240d93d5bf6b862d473cefd5 (patch) | |
tree | 999a0b9859113bd400b0ba85c041ddc8f412a0f3 /test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll | |
parent | 8957f7996c5c0725730202d73c1aae803944773b (diff) | |
download | external_llvm-044f841267139c25240d93d5bf6b862d473cefd5.zip external_llvm-044f841267139c25240d93d5bf6b862d473cefd5.tar.gz external_llvm-044f841267139c25240d93d5bf6b862d473cefd5.tar.bz2 |
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).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll')
-rw-r--r-- | test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll b/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll index 82ef2b8..b6feb5a 100644 --- a/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll +++ b/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: |