[llvm] 2bfe777 - [ProcessImplicitDefs] Enable machine verification after this pass

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 1 10:16:12 PDT 2021


Author: Jay Foad
Date: 2021-10-01T18:15:56+01:00
New Revision: 2bfe777a45cee1634ed5e3da32a0abeaf4aeaa72

URL: https://github.com/llvm/llvm-project/commit/2bfe777a45cee1634ed5e3da32a0abeaf4aeaa72
DIFF: https://github.com/llvm/llvm-project/commit/2bfe777a45cee1634ed5e3da32a0abeaf4aeaa72.diff

LOG: [ProcessImplicitDefs] Enable machine verification after this pass

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

Differential Revision: https://reviews.llvm.org/D110695

Added: 
    

Modified: 
    llvm/lib/CodeGen/TargetPassConfig.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index 16a7a15a7cab..a2118de26ae5 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -1429,7 +1429,7 @@ void TargetPassConfig::addFastRegAlloc() {
 void TargetPassConfig::addOptimizedRegAlloc() {
   addPass(&DetectDeadLanesID);
 
-  addPass(&ProcessImplicitDefsID, false);
+  addPass(&ProcessImplicitDefsID);
 
   // LiveVariables currently requires pure SSA form.
   //


        


More information about the llvm-commits mailing list