[PATCH] Cleanup inconsistent MachineVerifier+Print usage

Matthias Braun matze at braunis.de
Mon Dec 1 11:12:20 PST 2014


Hi Evan, list,

attached are patches that cleanup some of the mess in CodeGen/Passes.cpp; specifically they change the behaviour to add print+verify passes after each MachineFunction pass by default instead of on request. This should help debugging as you don't miss intermediate steps that are not printed and should improve dicipline to produce correct machine code as newly written passes will have verification enabled by default.

Greetings
    Matthias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CodeGen-Let-MachineVerifierPass-own-its-banner-strin.patch
Type: application/octet-stream
Size: 2321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141201/75339bb2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-CodeGen-Add-print-and-verify-pass-after-each-Machine.patch
Type: application/octet-stream
Size: 42398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141201/75339bb2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-X86-do-not-disable-machine-verification-anymore.patch
Type: application/octet-stream
Size: 1179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141201/75339bb2/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-ARM-do-not-disable-machine-verification-anymore.patch
Type: application/octet-stream
Size: 2899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141201/75339bb2/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-AARCH64-do-not-disable-machine-verification-anymore.patch
Type: application/octet-stream
Size: 2672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141201/75339bb2/attachment-0004.obj>


More information about the llvm-commits mailing list