Adjust isConstantSplat to allow for big-endian targets.
authorDale Johannesen <dalej@apple.com>
Fri, 13 Nov 2009 01:45:18 +0000 (01:45 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 13 Nov 2009 01:45:18 +0000 (01:45 +0000)
commit1e608819aa26c06b1552521469f2211339e3bfe0
tree92aba7698ff88ea82a86c717808ad9f6f8904ca3
parent0418c102dd324be5a7d6d3a8ad3c806c7ee74d21
Adjust isConstantSplat to allow for big-endian targets.
PPC is such a target; make it work.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87060 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGNodes.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/vec_splat_constant.ll [new file with mode: 0644]