[PATCH] D43337: [CodeGen] Don't omit any redundant information in -debug output when asserts are enabled

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 08:44:41 PST 2018


thegameg created this revision.
thegameg added reviewers: MatzeB, qcolombet, dsanders, bogner.
Herald added subscribers: javed.absar, nemanjai.

In r322867, we introduced IsStandalone when printing MIR in -debug output. The default behaviour for that was:

1. If any of MBB, MI, or MO are -debug-printed separately, don't omit any redundant information.
2. When -debug-printing a MF entirely, don't print any redundant information.
3. When printing MIR, don't print any redundant information.

I'd like to change 2) to:

2. When -debug-printing a MF entirely, don't print any redundant information **if asserts are disabled**.


https://reviews.llvm.org/D43337

Files:
  lib/CodeGen/MachineBasicBlock.cpp
  lib/CodeGen/MachineFunction.cpp
  test/CodeGen/AArch64/tailcall_misched_graph.ll
  test/CodeGen/ARM/Windows/dbzchk.ll
  test/CodeGen/Hexagon/post-inc-aa-metadata.ll
  test/CodeGen/PowerPC/opt-cmp-inst-cr0-live.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43337.134435.patch
Type: text/x-patch
Size: 3978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180215/64904d35/attachment.bin>


More information about the llvm-commits mailing list