[PATCH] D30625: Enable machine code verification with EXPENSIVE_CHECKS.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 5 12:09:00 PST 2017
fhahn created this revision.
Currently quite a few tests fail with this patch. I've added a ticket to track the failures: https://bugs.llvm.org/show_bug.cgi?id=32146 . We may want to hold of enabling -verify-machineinstr until all the failures are resolved.
https://reviews.llvm.org/D30625
Files:
lib/CodeGen/TargetPassConfig.cpp
Index: lib/CodeGen/TargetPassConfig.cpp
===================================================================
--- lib/CodeGen/TargetPassConfig.cpp
+++ lib/CodeGen/TargetPassConfig.cpp
@@ -421,7 +421,9 @@
}
void TargetPassConfig::addVerifyPass(const std::string &Banner) {
+#ifndef EXPENSIVE_CHECKS
if (VerifyMachineCode)
+#endif
PM->add(createMachineVerifierPass(Banner));
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30625.90622.patch
Type: text/x-patch
Size: 388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170305/0b0439be/attachment.bin>
More information about the llvm-commits
mailing list