mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 19:25:00 +00:00
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -24,14 +24,14 @@ static Statistic<> NumInstKilled("constprop - Number of instructions killed");
|
||||
|
||||
namespace {
|
||||
struct ConstantPropogation : public FunctionPass {
|
||||
const char *getPassName() const { return "Simple Constant Propogation"; }
|
||||
|
||||
bool runOnFunction(Function &F);
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.preservesCFG();
|
||||
}
|
||||
};
|
||||
|
||||
RegisterPass<ConstantPropogation> X("constprop", "Simple constant propogation");
|
||||
}
|
||||
|
||||
Pass *createConstantPropogationPass() {
|
||||
|
Reference in New Issue
Block a user