[llvm-commits] [llvm] r150773 - /llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Lang Hames
lhames at gmail.com
Thu Feb 16 17:11:37 PST 2012
Author: lhames
Date: Thu Feb 16 19:11:37 2012
New Revision: 150773
URL: http://llvm.org/viewvc/llvm-project?rev=150773&view=rev
Log:
MachineScheduler shouldn't use/preserve LiveDebugVariables.
Modified:
llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Modified: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineScheduler.cpp?rev=150773&r1=150772&r2=150773&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp Thu Feb 16 19:11:37 2012
@@ -15,7 +15,6 @@
#define DEBUG_TYPE "misched"
#include "ScheduleDAGInstrs.h"
-#include "LiveDebugVariables.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
#include "llvm/CodeGen/MachinePassRegistry.h"
#include "llvm/CodeGen/Passes.h"
@@ -68,7 +67,6 @@
INITIALIZE_AG_DEPENDENCY(AliasAnalysis)
INITIALIZE_PASS_DEPENDENCY(SlotIndexes)
INITIALIZE_PASS_DEPENDENCY(LiveIntervals)
-INITIALIZE_PASS_DEPENDENCY(LiveDebugVariables)
INITIALIZE_PASS_END(MachineScheduler, "misched",
"Machine Instruction Scheduler", false, false)
@@ -87,8 +85,6 @@
AU.addPreserved<SlotIndexes>();
AU.addRequired<LiveIntervals>();
AU.addPreserved<LiveIntervals>();
- AU.addRequired<LiveDebugVariables>();
- AU.addPreserved<LiveDebugVariables>();
MachineFunctionPass::getAnalysisUsage(AU);
}
More information about the llvm-commits
mailing list