diff options
-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 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; |