[PATCH] D13600: Enable verifier after PeepholeOptimizer

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 11:25:27 PDT 2015


arsenm created this revision.
arsenm added a subscriber: llvm-commits.

No tests fail with this enabled so I assume it was an accident
that it isn't enabled now.

http://reviews.llvm.org/D13600

Files:
  lib/CodeGen/Passes.cpp

Index: lib/CodeGen/Passes.cpp
===================================================================
--- lib/CodeGen/Passes.cpp
+++ lib/CodeGen/Passes.cpp
@@ -633,7 +633,7 @@
   addPass(&MachineCSEID, false);
   addPass(&MachineSinkingID);
 
-  addPass(&PeepholeOptimizerID, false);
+  addPass(&PeepholeOptimizerID);
   // Clean-up the dead code that may have been generated by peephole
   // rewriting.
   addPass(&DeadMachineInstructionElimID);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13600.36973.patch
Type: text/x-patch
Size: 444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151009/451e3b1e/attachment.bin>


More information about the llvm-commits mailing list