X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FCodeGen%2FScoreboardHazardRecognizer.h;h=060e89a3fdc79d42414cba1f37ee69f35338bbec;hb=131378555816174d3d521506cb2caf962d80e9ba;hp=c741e1ba241d873384b138b69b53f9d791e77642;hpb=e877c4f9c7b4e4142f33a29e6cd1a07262525a12;p=oota-llvm.git diff --git a/include/llvm/CodeGen/ScoreboardHazardRecognizer.h b/include/llvm/CodeGen/ScoreboardHazardRecognizer.h index c741e1ba241..060e89a3fdc 100644 --- a/include/llvm/CodeGen/ScoreboardHazardRecognizer.h +++ b/include/llvm/CodeGen/ScoreboardHazardRecognizer.h @@ -39,7 +39,7 @@ class ScoreboardHazardRecognizer : public ScheduleHazardRecognizer { // bottom-up scheduler, then the scoreboard cycles are the inverse of the // scheduler's cycles. class Scoreboard { - uint64_t *Data; + unsigned *Data; // The maximum number of cycles monitored by the Scoreboard. This // value is determined based on the target itineraries to ensure @@ -54,7 +54,7 @@ class ScoreboardHazardRecognizer : public ScheduleHazardRecognizer { } size_t getDepth() const { return Depth; } - uint64_t& operator[](size_t idx) const { + unsigned& operator[](size_t idx) const { // Depth is expected to be a power-of-2. assert(Depth && !(Depth & (Depth - 1)) && "Scoreboard was not initialized properly!"); @@ -65,7 +65,7 @@ class ScoreboardHazardRecognizer : public ScheduleHazardRecognizer { void reset(size_t d = 1) { if (Data == NULL) { Depth = d; - Data = new uint64_t[Depth]; + Data = new unsigned[Depth]; } memset(Data, 0, Depth * sizeof(Data[0]));