[llvm-commits] [llvm] r142630 - /llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp
Richard Smith
richard-llvm at metafoo.co.uk
Thu Oct 20 18:22:05 PDT 2011
Author: rsmith
Date: Thu Oct 20 20:22:04 2011
New Revision: 142630
URL: http://llvm.org/viewvc/llvm-project?rev=142630&view=rev
Log:
Fix unused variable warning.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp?rev=142630&r1=142629&r2=142630&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp Thu Oct 20 20:22:04 2011
@@ -56,9 +56,9 @@
unsigned Directive = TM->getSubtarget<PPCSubtarget>().getDarwinDirective();
if (Directive == PPC::DIR_440) {
- const InstrItineraryData *II = TM->getInstrItineraryData();
// Disable the hazard recognizer for now, as it doesn't support
// bottom-up scheduling.
+ //const InstrItineraryData *II = TM->getInstrItineraryData();
//return new PPCHazardRecognizer440(II, DAG);
return new ScheduleHazardRecognizer();
}
More information about the llvm-commits
mailing list