Protect PPC Altivec patterns with a predicate
authorHal Finkel <hfinkel@anl.gov>
Fri, 15 Mar 2013 13:21:21 +0000 (13:21 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 15 Mar 2013 13:21:21 +0000 (13:21 +0000)
commit044f841267139c25240d93d5bf6b862d473cefd5
tree999a0b9859113bd400b0ba85c041ddc8f412a0f3
parent8957f7996c5c0725730202d73c1aae803944773b
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
lib/Target/PowerPC/PPCInstrAltivec.td
test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll