[PowerPC] Handle v2i64 comparisons
authorHal Finkel <hfinkel@anl.gov>
Sat, 29 Mar 2014 16:04:40 +0000 (16:04 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sat, 29 Mar 2014 16:04:40 +0000 (16:04 +0000)
commit7563821402165cfe7d9b33ee6a5706b65503d306
tree17f2cb1e765a3c053971fad033c97ed3de3c25c4
parente2c0b61c4f1d6945c9494889d025402a65b51b45
[PowerPC] Handle v2i64 comparisons

v2i64 is a legal type under VSX, however we don't have native vector
comparisons. We can handle eq/ne by casting it to an Altivec type, but
everything else must be expanded.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205106 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/vsx.ll