[PATCH] D110688: [RemoveRedundantDebugValues] Enable machine verification after this pass
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 29 02:21:59 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 RemoveRedundantDebugValues has been disabled
since the pass was first added in D105279 <https://reviews.llvm.org/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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110688
Files:
llvm/lib/CodeGen/TargetPassConfig.cpp
Index: llvm/lib/CodeGen/TargetPassConfig.cpp
===================================================================
--- llvm/lib/CodeGen/TargetPassConfig.cpp
+++ llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -1175,7 +1175,7 @@
// Run post-ra passes.
addPostRegAlloc();
- addPass(&RemoveRedundantDebugValuesID, false);
+ addPass(&RemoveRedundantDebugValuesID);
addPass(&FixupStatepointCallerSavedID);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110688.375813.patch
Type: text/x-patch
Size: 409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210929/3914025f/attachment.bin>
More information about the llvm-commits
mailing list