Run constprop before -raise
authorChris Lattner <sabre@nondot.org>
Mon, 26 Nov 2001 18:16:07 +0000 (18:16 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 26 Nov 2001 18:16:07 +0000 (18:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1354 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccas/gccas.cpp

index 52449a8630283f55e2d530b007431473a9b55c92..d01e4ed226ae26ee921b8986c49bc6e3064d70be 100644 (file)
@@ -64,6 +64,7 @@ int main(int argc, char **argv) {
   //
   vector<Pass*> Passes;
   Passes.push_back(new CleanupGCCOutput());        // Fix gccisms
+  Passes.push_back(new opt::ConstantPropogation());// Trivial const prop
   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