diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-07-24 17:44:22 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-07-24 17:44:22 +0000 |
commit | 2bf871be4c35d70db080dde789cf9bb334c04057 (patch) | |
tree | f9012e041f8dc3244b7cccefdd7cad6c352f02dd /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | cd7a6fa314953f71af0686bd0fcc8f6a8cb133bf (diff) | |
download | llvm-2bf871be4c35d70db080dde789cf9bb334c04057.zip llvm-2bf871be4c35d70db080dde789cf9bb334c04057.tar.gz llvm-2bf871be4c35d70db080dde789cf9bb334c04057.tar.bz2 |
Fix signed/unsigned comparison warning. NFCI.
llvm-svn: 366935
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-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 014e672..b1188c8 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -9076,7 +9076,7 @@ SelectionDAG::matchBinOpReduction(SDNode *Extract, ISD::NodeType &BinOp, // Verify the shuffle has the expected (at this stage of the pyramid) mask. for (int Index = 0; Index < (int)MaskEnd; ++Index) - if (Shuffle->getMaskElt(Index) != (MaskEnd + Index)) + if (Shuffle->getMaskElt(Index) != (int)(MaskEnd + Index)) return PartialReduction(PrevOp, MaskEnd); PrevOp = Op; |