[llvm-commits] [llvm] r150619 - in /llvm/trunk: include/llvm/CodeGen/DFAPacketizer.h lib/CodeGen/DFAPacketizer.cpp
Andrew Trick
atrick at apple.com
Wed Feb 15 14:06:22 PST 2012
Author: atrick
Date: Wed Feb 15 16:06:21 2012
New Revision: 150619
URL: http://llvm.org/viewvc/llvm-project?rev=150619&view=rev
Log:
Don't expose DefaultVLIWScheduler
Modified:
llvm/trunk/include/llvm/CodeGen/DFAPacketizer.h
llvm/trunk/lib/CodeGen/DFAPacketizer.cpp
Modified: llvm/trunk/include/llvm/CodeGen/DFAPacketizer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/DFAPacketizer.h?rev=150619&r1=150618&r2=150619&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/DFAPacketizer.h (original)
+++ llvm/trunk/include/llvm/CodeGen/DFAPacketizer.h Wed Feb 15 16:06:21 2012
@@ -36,7 +36,7 @@
class MachineLoopInfo;
class MachineDominatorTree;
class InstrItineraryData;
-class DefaultVLIWScheduler;
+class ScheduleDAGInstrs;
class SUnit;
class DFAPacketizer {
@@ -92,7 +92,7 @@
const TargetInstrInfo *TII;
// The VLIW Scheduler.
- DefaultVLIWScheduler *VLIWScheduler;
+ ScheduleDAGInstrs *VLIWScheduler;
protected:
// Vector of instructions assigned to the current packet.
Modified: llvm/trunk/lib/CodeGen/DFAPacketizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/DFAPacketizer.cpp?rev=150619&r1=150618&r2=150619&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/DFAPacketizer.cpp (original)
+++ llvm/trunk/lib/CodeGen/DFAPacketizer.cpp Wed Feb 15 16:06:21 2012
@@ -100,7 +100,7 @@
reserveResources(&MID);
}
-namespace llvm {
+namespace {
// DefaultVLIWScheduler - This class extends ScheduleDAGInstrs and overrides
// Schedule method to build the dependence graph.
class DefaultVLIWScheduler : public ScheduleDAGInstrs {
More information about the llvm-commits
mailing list