[PATCH] D46525: [Debugify] Introduce debugify-each and DebugifyFunctionPass

Son Tuan Vu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 03:55:13 PDT 2018


tyb0807 updated this revision to Diff 146298.
tyb0807 marked 10 inline comments as done.
tyb0807 added a comment.

Address review comments. Now we print out the module when `check-debugify` reports an error. I guess another important information should be the optimization pass that makes `check-debugify` fail, but I'm not sure how to get that information though.

P/S: Thanks Vedant, the code looks a lot more elegant now!


Repository:
  rL LLVM

https://reviews.llvm.org/D46525

Files:
  include/llvm/IR/IRPrintingPasses.h
  lib/IR/IRPrintingPasses.cpp
  test/DebugInfo/debugify-each.ll
  test/DebugInfo/debugify.ll
  test/Transforms/Mem2Reg/PromoteMemToRegister.ll
  tools/opt/Debugify.cpp
  tools/opt/PassPrinters.h
  tools/opt/opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46525.146298.patch
Type: text/x-patch
Size: 21428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180511/7193912a/attachment.bin>


More information about the llvm-commits mailing list