diff options
| -rw-r--r-- | llvm/lib/IR/Instructions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Instructions.cpp b/llvm/lib/IR/Instructions.cpp index 2bf9f0b12e7..266345bca5f 100644 --- a/llvm/lib/IR/Instructions.cpp +++ b/llvm/lib/IR/Instructions.cpp @@ -1780,7 +1780,7 @@ bool ShuffleVectorInst::isIdentityWithPadding() const { return false; // The first part of the mask must choose elements from exactly 1 source op. - ArrayRef<int> Mask = getShuffleMask(); + SmallVector<int, 16> Mask = getShuffleMask(); if (!isIdentityMaskImpl(Mask, NumOpElts)) return false; |

