[PATCH] D110697: [UnreachableMachineBlockElim] Enable machine verification after this pass

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 04:59:28 PDT 2021


foad created this revision.
foad added reviewers: efriedma, MatzeB, qcolombet, stoklund.
Herald added a subscriber: hiraditya.
foad requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Enabling this does not show any problems in check-llvm in an
LLVM_ENABLE_EXPENSIVE_CHECKS build.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110697

Files:
  llvm/lib/CodeGen/TargetPassConfig.cpp


Index: llvm/lib/CodeGen/TargetPassConfig.cpp
===================================================================
--- llvm/lib/CodeGen/TargetPassConfig.cpp
+++ llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -1441,7 +1441,7 @@
   // When LiveVariables is removed this has to be removed/moved either.
   // Explicit addition of UnreachableMachineBlockElim allows stopping before or
   // after it with -stop-before/-stop-after.
-  addPass(&UnreachableMachineBlockElimID, false);
+  addPass(&UnreachableMachineBlockElimID);
   addPass(&LiveVariablesID, false);
 
   // Edge splitting is smarter with machine loop info.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110697.375835.patch
Type: text/x-patch
Size: 609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210929/34ece2f4/attachment.bin>


More information about the llvm-commits mailing list