diff options
Diffstat (limited to 'tools/gccas')
-rw-r--r-- | tools/gccas/Makefile | 2 | ||||
-rw-r--r-- | tools/gccas/gccas.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/gccas/Makefile b/tools/gccas/Makefile index 5efda5c1c0..a947f3a8db 100644 --- a/tools/gccas/Makefile +++ b/tools/gccas/Makefile @@ -1,6 +1,6 @@ LEVEL = ../.. TOOLNAME = gccas -USEDLIBS = asmparser bcwriter analysis transforms opt vmcore asmwriter support +USEDLIBS = asmparser bcwriter analysis transforms opt vmcore asmwriter support target include $(LEVEL)/Makefile.common diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 6b1d33a5c9..52449a8630 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -10,7 +10,7 @@ #include "llvm/Module.h" #include "llvm/Assembly/Parser.h" #include "llvm/Transforms/CleanupGCCOutput.h" -#include "llvm/Optimizations/LevelChange.h" +#include "llvm/Transforms/LevelChange.h" #include "llvm/Optimizations/ConstantProp.h" #include "llvm/Optimizations/DCE.h" #include "llvm/Transforms/ConstantMerge.h" @@ -64,7 +64,7 @@ int main(int argc, char **argv) { // vector<Pass*> Passes; Passes.push_back(new CleanupGCCOutput()); // Fix gccisms - Passes.push_back(new opt::RaiseRepresentation());// Fix general low level code + Passes.push_back(new RaisePointerReferences()); // Fix general low level code Passes.push_back(new opt::ConstantPropogation());// Trivial const prop Passes.push_back(new opt::DeadCodeElimination());// Trivial DCE Passes.push_back(new ConstantMerge()); // Merge dup global constants |