[llvm-commits] [llvm] r158820 - /llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp
Aaron Ballman
aaron at aaronballman.com
Wed Jun 20 07:44:44 PDT 2012
Author: aaronballman
Date: Wed Jun 20 09:44:44 2012
New Revision: 158820
URL: http://llvm.org/viewvc/llvm-project?rev=158820&view=rev
Log:
Fixing a compiler warning in MSVC 10.
Modified:
llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp
Modified: llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp?rev=158820&r1=158819&r2=158820&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp (original)
+++ llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp Wed Jun 20 09:44:44 2012
@@ -98,7 +98,7 @@
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';
}
}
More information about the llvm-commits
mailing list