diff --git a/lib/CodeGen/ScoreboardHazardRecognizer.cpp b/lib/CodeGen/ScoreboardHazardRecognizer.cpp index d22398f58ce..ed5e4a3fec2 100644 --- a/lib/CodeGen/ScoreboardHazardRecognizer.cpp +++ b/lib/CodeGen/ScoreboardHazardRecognizer.cpp @@ -98,7 +98,7 @@ void ScoreboardHazardRecognizer::Scoreboard::dump() const { uint64_t FUs = (*this)[i]; dbgs() << "\t"; for (int j = 63; j >= 0; j--) - dbgs() << ((FUs & (1 << j)) ? '1' : '0'); + dbgs() << ((FUs & (1ULL << j)) ? '1' : '0'); dbgs() << '\n'; } }