summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/Sparc/PreSelection.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/Sparc/PreSelection.cpp b/llvm/lib/Target/Sparc/PreSelection.cpp
index b4bbc77a071..216091787f1 100644
--- a/llvm/lib/Target/Sparc/PreSelection.cpp
+++ b/llvm/lib/Target/Sparc/PreSelection.cpp
@@ -150,13 +150,13 @@ namespace {
void visitOneOperand(Instruction &I, Constant* CV, unsigned opNum,
Instruction& insertBefore); // iworks on one operand
};
-} // end anonymous namespace
+ // Register the pass...
+ RegisterOpt<PreSelection> X("preselect",
+ "Specialize LLVM code for a target machine",
+ createPreSelectionPass);
+} // end anonymous namespace
-// Register the pass...
-static RegisterOpt<PreSelection> X("preselect",
- "Specialize LLVM code for a target machine",
- createPreSelectionPass);
//------------------------------------------------------------------------------
// Helper functions used by methods of class PreSelection
OpenPOWER on IntegriCloud