summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-07-24 17:44:22 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-07-24 17:44:22 +0000
commit2bf871be4c35d70db080dde789cf9bb334c04057 (patch)
treef9012e041f8dc3244b7cccefdd7cad6c352f02dd /llvm/lib/CodeGen
parentcd7a6fa314953f71af0686bd0fcc8f6a8cb133bf (diff)
downloadbcm5719-llvm-2bf871be4c35d70db080dde789cf9bb334c04057.tar.gz
bcm5719-llvm-2bf871be4c35d70db080dde789cf9bb334c04057.zip
Fix signed/unsigned comparison warning. NFCI.
llvm-svn: 366935
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 014e67274b8..b1188c8bc5d 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;
OpenPOWER on IntegriCloud