LEVEL = ../..
TOOLNAME = gccas
-USEDLIBS = asmparser bcwriter transforms analysis opt vmcore asmwriter support target
+USEDLIBS = asmparser bcwriter scalaropts transforms analysis opt vmcore asmwriter support target
include $(LEVEL)/Makefile.common
#include "llvm/Optimizations/ConstantProp.h"
#include "llvm/Optimizations/DCE.h"
#include "llvm/Transforms/ConstantMerge.h"
+#include "llvm/Transforms/Scalar/IndVarSimplify.h"
#include "llvm/Bytecode/Writer.h"
#include "Support/CommandLine.h"
#include <memory>
//
vector<Pass*> Passes;
Passes.push_back(new CleanupGCCOutput()); // Fix gccisms
+ Passes.push_back(new InductionVariableSimplify()); // Simplify indvars
Passes.push_back(new RaisePointerReferences()); // Fix general low level code
Passes.push_back(new ConstantMerge()); // Merge dup global constants