summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCInstrInfo.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-10-21 01:22:04 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-10-21 01:22:04 +0000
commited8db320af68556de5fcfe2cbec688003acc33f5 (patch)
tree581bb16471a9796666e292aa8603a77701f001ed /lib/Target/PowerPC/PPCInstrInfo.cpp
parentcd20c58e980552daef182247005cf905fe8b06ba (diff)
downloadllvm-ed8db320af68556de5fcfe2cbec688003acc33f5.tar.gz
llvm-ed8db320af68556de5fcfe2cbec688003acc33f5.tar.bz2
llvm-ed8db320af68556de5fcfe2cbec688003acc33f5.tar.xz
Fix unused variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.cpp')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.cpp b/lib/Target/PowerPC/PPCInstrInfo.cpp
index 95174177cd..36a10f49a4 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.cpp
+++ b/lib/Target/PowerPC/PPCInstrInfo.cpp
@@ -56,9 +56,9 @@ ScheduleHazardRecognizer *PPCInstrInfo::CreateTargetHazardRecognizer(
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();
}