summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-03-15 13:21:21 +0000
committerHal Finkel <hfinkel@anl.gov>2013-03-15 13:21:21 +0000
commitb0fac42987600989a477a1e09e29ee10ca4ed5b7 (patch)
tree0ca34a6c293445836311e8e7b099ece50e38ae41 /llvm/test/CodeGen
parente4385c4b98a0ca8de6013583b70e5e431f4478cd (diff)
downloadbcm5719-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/CodeGen')
-rw-r--r--llvm/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll2
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:
OpenPOWER on IntegriCloud