summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commitc842c2ffe270a608ee4b74aa90b7aac9f2bf005a (patch)
tree2a2a975533624930e4605b52a3d7c9b4971adbed /llvm/lib
parentedb677c3c7b5a1b738dd5f2ef246a10f9f2d8f72 (diff)
downloadbcm5719-llvm-c842c2ffe270a608ee4b74aa90b7aac9f2bf005a.tar.gz
bcm5719-llvm-c842c2ffe270a608ee4b74aa90b7aac9f2bf005a.zip
Fix unused variable warning.
llvm-svn: 142630
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
index 95174177cd1..36a10f49a42 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
+++ b/llvm/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();
}
OpenPOWER on IntegriCloud