From b41d838d28a64369f8a804bfd2bc0899115e60cc Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 7 Dec 2007 21:30:01 +0000 Subject: [PATCH] Add comment. llvm-svn: 44686 --- llvm/lib/Target/X86/X86ISelLowering.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 2653481418a1..c0001c0f974f 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -2758,6 +2758,8 @@ static SDOperand CommuteVectorShuffle(SDOperand Op, SDOperand &V1, return DAG.getNode(ISD::VECTOR_SHUFFLE, VT, V1, V2, Mask); } +/// CommuteVectorShuffleMask - Change values in a shuffle permute mask assuming +/// the two vector operands have swapped position. static SDOperand CommuteVectorShuffleMask(SDOperand Mask, SelectionDAG &DAG) { MVT::ValueType MaskVT = Mask.getValueType();