Skip to content

Commit

Permalink
[RemoveRedundantDebugValues] Enable machine verification after this pass
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jayfoad committed Sep 29, 2021
1 parent 7b424b9 commit 27179b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/TargetPassConfig.cpp
Expand Up @@ -1175,7 +1175,7 @@ void TargetPassConfig::addMachinePasses() {
// Run post-ra passes.
addPostRegAlloc();

addPass(&RemoveRedundantDebugValuesID, false);
addPass(&RemoveRedundantDebugValuesID);

addPass(&FixupStatepointCallerSavedID);

Expand Down

0 comments on commit 27179b3

Please sign in to comment.