[PATCH] D110689: [DetectDeadLanes] Enable machine verification after this pass

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 02:24:46 PDT 2021


foad created this revision.
Herald added a subscriber: hiraditya.
foad requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Machine verification after DetectDeadLanes has been disabled since the
pass was first added in D18427 <https://reviews.llvm.org/D18427>, but I guess this was just due to copy-
and-paste. Enabling it does not show any problems in check-llvm in an
LLVM_ENABLE_EXPENSIVE_CHECKS build.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110689

Files:
  llvm/lib/CodeGen/TargetPassConfig.cpp


Index: llvm/lib/CodeGen/TargetPassConfig.cpp
===================================================================
--- llvm/lib/CodeGen/TargetPassConfig.cpp
+++ llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -1427,7 +1427,7 @@
 /// optimized register allocation, including coalescing, machine instruction
 /// scheduling, and register allocation itself.
 void TargetPassConfig::addOptimizedRegAlloc() {
-  addPass(&DetectDeadLanesID, false);
+  addPass(&DetectDeadLanesID);
 
   addPass(&ProcessImplicitDefsID, false);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110689.375814.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210929/a3cb50e0/attachment.bin>


More information about the llvm-commits mailing list