diff options
author | Craig Topper <craig.topper@gmail.com> | 2016-06-29 03:29:06 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2016-06-29 03:29:06 +0000 |
commit | f067a043fbb2a586aaf647cedbf93aabc58b1667 (patch) | |
tree | c8b88f68a0fb28e2a7809eba82de9d2a713e5d58 /llvm/lib | |
parent | 0c58837b1f676d5673084a4406f849bd183318a5 (diff) | |
download | bcm5719-llvm-f067a043fbb2a586aaf647cedbf93aabc58b1667.tar.gz bcm5719-llvm-f067a043fbb2a586aaf647cedbf93aabc58b1667.zip |
[CodeGen] Make ShuffleVectorSDNode::commuteMask take a MutableArrayRef instead of SmallVectorImpl. NFC.
llvm-svn: 274095
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 3073e22b9d6..f4a4207712d 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1478,7 +1478,7 @@ SDValue SelectionDAG::getCondCode(ISD::CondCode Cond) { // commuteShuffle - swaps the values of N1 and N2, and swaps all indices in // the shuffle mask M that point at N1 to point at N2, and indices that point // N2 to point at N1. -static void commuteShuffle(SDValue &N1, SDValue &N2, SmallVectorImpl<int> &M) { +static void commuteShuffle(SDValue &N1, SDValue &N2, MutableArrayRef<int> M) { std::swap(N1, N2); ShuffleVectorSDNode::commuteMask(M); } |