Changes in directory llvm/include/llvm/Target:
TargetLowering.h updated: 1.62 -> 1.63 --- Log message: Added a ValueType operand to isShuffleMaskLegal(). For now, x86 will not do 64-bit vector shuffle. --- Diffs of the changes: (+2 -2) TargetLowering.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Target/TargetLowering.h diff -u llvm/include/llvm/Target/TargetLowering.h:1.62 llvm/include/llvm/Target/TargetLowering.h:1.63 --- llvm/include/llvm/Target/TargetLowering.h:1.62 Sun Mar 19 18:55:52 2006 +++ llvm/include/llvm/Target/TargetLowering.h Wed Mar 22 16:07:06 2006 @@ -202,7 +202,7 @@ /// support and the code generator is tasked with not creating illegal masks. bool isShuffleLegal(MVT::ValueType VT, SDOperand Mask) const { return isOperationLegal(ISD::VECTOR_SHUFFLE, VT) && - isShuffleMaskLegal(Mask); + isShuffleMaskLegal(Mask, VT); } /// getTypeToPromoteTo - If the action for this operation is to promote, this @@ -489,7 +489,7 @@ /// support *some* VECTOR_SHUFFLE operations, those with specific masks. /// By default, if a target supports the VECTOR_SHUFFLE node, all mask values /// are assumed to be legal. - virtual bool isShuffleMaskLegal(SDOperand Mask) const { + virtual bool isShuffleMaskLegal(SDOperand Mask, MVT::ValueType VT) const { return true; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits