Add comment.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 7 Dec 2007 21:30:01 +0000 (21:30 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 7 Dec 2007 21:30:01 +0000 (21:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44686 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 2653481418a15e9862d2bfce50f68e7f6916d7c0..c0001c0f974f3fa6c275dd7216ca73433663c061 100644 (file)
@@ -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();