Run another local value numbering phase after redundancy elimination

llvm-svn: 2625
diff --git a/llvm/tools/gccas/gccas.cpp b/llvm/tools/gccas/gccas.cpp
index c2f7a8c..1a0067e 100644
--- a/llvm/tools/gccas/gccas.cpp
+++ b/llvm/tools/gccas/gccas.cpp
@@ -83,6 +83,10 @@
     Passes.add(createLICMPass());                   // Hoist loop invariants
     Passes.add(createGCSEPass());                   // Remove common subexprs
     Passes.add(createSCCPPass());                   // Constant prop with SCCP
+
+    // Run instcombine after redundancy elimination to exploit opportunities
+    // opened up by them.
+    Passes.add(createInstructionCombiningPass());
     Passes.add(createDeadCodeEliminationPass());    // Remove Dead code/vars
   }
   Passes.add(new WriteBytecodePass(&Out));        // Write bytecode to file...