[PowerPC] Fix value type on XVCMPEQDP for v2f64 comparisons
authorHal Finkel <hfinkel@anl.gov>
Thu, 20 Aug 2015 03:02:02 +0000 (03:02 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 20 Aug 2015 03:02:02 +0000 (03:02 +0000)
commitd51dd69e7929840bcefc50012040c246178e81a8
treeef64603a5ed990f4bb93dba5e789753d494e4e97
parentc2b62e02e8ac5a3df255332ad82f55d708d76884
[PowerPC] Fix value type on XVCMPEQDP for v2f64 comparisons

XVCMPEQDP is used for VSX v2f64 equality comparisons, but the value type needs
to be v2i64 (as that's the corresponding SETCC type).

Fixes PR24225.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245535 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/xvcmpeqdp-v2f64.ll [new file with mode: 0644]