mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
eliminate RegisterOpt. It does the same thing as RegisterPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29925 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -194,8 +194,7 @@ private:
|
||||
Loop *L, bool isOnlyStride);
|
||||
void DeleteTriviallyDeadInstructions(std::set<Instruction*> &Insts);
|
||||
};
|
||||
RegisterOpt<LoopStrengthReduce> X("loop-reduce",
|
||||
"Loop Strength Reduction");
|
||||
RegisterPass<LoopStrengthReduce> X("loop-reduce", "Loop Strength Reduction");
|
||||
}
|
||||
|
||||
FunctionPass *llvm::createLoopStrengthReducePass(const TargetLowering *TLI) {
|
||||
|
||||
Reference in New Issue
Block a user