mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Use new induction variable simplification code with -indvars option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1410 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
#include "llvm/Transforms/LevelChange.h"
|
||||
#include "llvm/Transforms/SwapStructContents.h"
|
||||
#include "llvm/Transforms/IPO/GlobalDCE.h"
|
||||
#include "llvm/Transforms/Scalar/IndVarSimplify.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include <fstream>
|
||||
#include <memory>
|
||||
@ -48,7 +49,7 @@ struct {
|
||||
{ mergecons, new ConstantMerge() },
|
||||
{ strip , new opt::SymbolStripping() },
|
||||
{ mstrip , new opt::FullSymbolStripping() },
|
||||
{ indvars , new opt::InductionVariableCannonicalize() },
|
||||
{ indvars , new InductionVariableSimplify() },
|
||||
{ sccp , new opt::SCCPPass() },
|
||||
{ adce , new opt::AgressiveDCE() },
|
||||
{ raise , new RaisePointerReferences() },
|
||||
|
Reference in New Issue
Block a user