Add comment.

llvm-svn: 44686
This commit is contained in:
Evan Cheng 2007-12-07 21:30:01 +00:00
parent ff6a455c12
commit b41d838d28
1 changed files with 2 additions and 0 deletions

View 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();