diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 5ec3f190d34..232bfe46dc3 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -19272,7 +19272,7 @@ SDValue DAGCombiner::visitINSERT_SUBVECTOR(SDNode *N) { if (!isa(N2)) return SDValue(); - unsigned InsIdx = cast(N2)->getZExtValue(); + uint64_t InsIdx = cast(N2)->getZExtValue(); // Push subvector bitcasts to the output, adjusting the index as we go. // insert_subvector(bitcast(v), bitcast(s), c1)