diff options
| author | Fangrui Song <maskray@google.com> | 2018-11-09 16:45:37 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2018-11-09 16:45:37 +0000 |
| commit | 4f2e66c0184baeccf43d08217c70efcd92674311 (patch) | |
| tree | c70870ec3bb6c85cca4c0669495ec36046778af5 | |
| parent | 0d12713c2b4a06ac4ddafaff257020e54c878613 (diff) | |
| download | bcm5719-llvm-4f2e66c0184baeccf43d08217c70efcd92674311.tar.gz bcm5719-llvm-4f2e66c0184baeccf43d08217c70efcd92674311.zip | |
Fix -Wsign-compare warning
llvm-svn: 346515
| -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 66fdb462e82..0295da95a3a 100644 --- a/llvm/lib/IR/Instructions.cpp +++ b/llvm/lib/IR/Instructions.cpp @@ -1805,7 +1805,7 @@ bool ShuffleVectorInst::isExtractSubvectorMask(ArrayRef<int> Mask, return false; // Must be smaller (else this is an Identity shuffle). - if (NumSrcElts <= Mask.size()) + if (NumSrcElts <= (int)Mask.size()) return false; // Find start of extraction, accounting that we may start with an UNDEF. |

