mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
Use new induction variable simplification code with -indvars option
llvm-svn: 1410
This commit is contained in:
parent
d865a13064
commit
f2e6a6be44
@ -1,6 +1,6 @@
|
|||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
TOOLNAME = opt
|
TOOLNAME = opt
|
||||||
USEDLIBS = opt bcreader bcwriter asmwriter analysis vmcore support instrument transforms ipo target analysis
|
USEDLIBS = opt bcreader bcwriter asmwriter analysis vmcore support instrument transforms scalaropts ipo target analysis
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#include "llvm/Transforms/LevelChange.h"
|
#include "llvm/Transforms/LevelChange.h"
|
||||||
#include "llvm/Transforms/SwapStructContents.h"
|
#include "llvm/Transforms/SwapStructContents.h"
|
||||||
#include "llvm/Transforms/IPO/GlobalDCE.h"
|
#include "llvm/Transforms/IPO/GlobalDCE.h"
|
||||||
|
#include "llvm/Transforms/Scalar/IndVarSimplify.h"
|
||||||
#include "Support/CommandLine.h"
|
#include "Support/CommandLine.h"
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
@ -48,7 +49,7 @@ struct {
|
|||||||
{ mergecons, new ConstantMerge() },
|
{ mergecons, new ConstantMerge() },
|
||||||
{ strip , new opt::SymbolStripping() },
|
{ strip , new opt::SymbolStripping() },
|
||||||
{ mstrip , new opt::FullSymbolStripping() },
|
{ mstrip , new opt::FullSymbolStripping() },
|
||||||
{ indvars , new opt::InductionVariableCannonicalize() },
|
{ indvars , new InductionVariableSimplify() },
|
||||||
{ sccp , new opt::SCCPPass() },
|
{ sccp , new opt::SCCPPass() },
|
||||||
{ adce , new opt::AgressiveDCE() },
|
{ adce , new opt::AgressiveDCE() },
|
||||||
{ raise , new RaisePointerReferences() },
|
{ raise , new RaisePointerReferences() },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user