Changes in directory llvm/lib/Target/PowerPC:
PPCISelLowering.cpp updated: 1.101 -> 1.102 PPCISelLowering.h updated: 1.29 -> 1.30 --- Log message: fix duplicate definition errors --- Diffs of the changes: (+20 -2) PPCISelLowering.cpp | 18 ++++++++++++++++++ PPCISelLowering.h | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.101 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.102 --- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.101 Sun Mar 19 19:53:53 2006 +++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Mon Mar 20 00:33:01 2006 @@ -239,6 +239,24 @@ return false; } + +/// isSplatShuffleMask - Return true if the specified VECTOR_SHUFFLE operand +/// specifies a splat of a single element that is suitable for input to +/// VSPLTB/VSPLTH/VSPLTW. +bool PPC::isSplatShuffleMask(SDNode *N) { + assert(N->getOpcode() == ISD::BUILD_VECTOR); + return false; +} + +/// getVSPLTImmediate - Return the appropriate VSPLT* immediate to splat the +/// specified isSplatShuffleMask VECTOR_SHUFFLE mask. +unsigned PPC::getVSPLTImmediate(SDNode *N) { + assert(isSplatShuffleMask(N)); + return 0; +} + + + /// LowerOperation - Provide custom lowering hooks for some operations. /// SDOperand PPCTargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) { Index: llvm/lib/Target/PowerPC/PPCISelLowering.h diff -u llvm/lib/Target/PowerPC/PPCISelLowering.h:1.29 llvm/lib/Target/PowerPC/PPCISelLowering.h:1.30 --- llvm/lib/Target/PowerPC/PPCISelLowering.h:1.29 Mon Mar 20 00:15:45 2006 +++ llvm/lib/Target/PowerPC/PPCISelLowering.h Mon Mar 20 00:33:01 2006 @@ -89,11 +89,11 @@ /// isSplatShuffleMask - Return true if the specified VECTOR_SHUFFLE operand /// specifies a splat of a single element that is suitable for input to /// VSPLTB/VSPLTH/VSPLTW. - bool isSplatShuffleMask(SDNode *N) { return false; } // FIXME: + bool isSplatShuffleMask(SDNode *N); /// getVSPLTImmediate - Return the appropriate VSPLT* immediate to splat the /// specified isSplatShuffleMask VECTOR_SHUFFLE mask. - unsigned getVSPLTImmediate(SDNode *N) { return 0; } // FIXME: + unsigned getVSPLTImmediate(SDNode *N); } class PPCTargetLowering : public TargetLowering { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits