[llvm] 27179b3 - [RemoveRedundantDebugValues] Enable machine verification after this pass

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 02:44:41 PDT 2021


Author: Jay Foad
Date: 2021-09-29T10:44:35+01:00
New Revision: 27179b39f911a9d1c3e1afd1bc6f61ff5fcc8659

URL: https://github.com/llvm/llvm-project/commit/27179b39f911a9d1c3e1afd1bc6f61ff5fcc8659
DIFF: https://github.com/llvm/llvm-project/commit/27179b39f911a9d1c3e1afd1bc6f61ff5fcc8659.diff

LOG: [RemoveRedundantDebugValues] Enable machine verification after this pass

Machine verification after RemoveRedundantDebugValues has been disabled
since the pass was first added in D105279, 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.

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

Added: 
    

Modified: 
    llvm/lib/CodeGen/TargetPassConfig.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index f6d6cbf1022fe..0d9f2b2b8651b 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -1175,7 +1175,7 @@ void TargetPassConfig::addMachinePasses() {
   // Run post-ra passes.
   addPostRegAlloc();
 
-  addPass(&RemoveRedundantDebugValuesID, false);
+  addPass(&RemoveRedundantDebugValuesID);
 
   addPass(&FixupStatepointCallerSavedID);
 


        


More information about the llvm-commits mailing list