summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp b/llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp
index 8059853bc21..a867503573d 100644
--- a/llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp
+++ b/llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp
@@ -82,7 +82,7 @@ bool SparcV8TargetMachine::addPassesToEmitAssembly(PassManager &PM,
// Print LLVM code input to instruction selector:
if (PrintMachineCode)
- PM.add(new PrintModulePass());
+ PM.add(new PrintFunctionPass());
PM.add(createSparcV8SimpleInstructionSelector(*this));
OpenPOWER on IntegriCloud