[NFC][Debugify] Format the CheckModuleDebugify output
authorDjordje Todorovic <djordje.todorovic@syrmia.com>
Wed, 27 May 2020 07:42:15 +0000 (09:42 +0200)
committerDjordje Todorovic <djordje.todorovic@syrmia.com>
Wed, 27 May 2020 08:32:40 +0000 (10:32 +0200)
commit65030821d4a6af94b84a33e66a40c08ca26f1526
tree14fd30afa05ff428891fc68ef9609f0064ecec48
parenta1dfd6d828ac4f8e11e8013b952f0ef080890dcf
[NFC][Debugify] Format the CheckModuleDebugify output

This fixes the output of the check-debugify option.
Without the patch an example of running the option:

$ opt -check-debugify test.ll -S -o testDebugify.ll
CheckModuleDebugifySkipping module without debugify metadata

After the patch:

$ opt -check-debugify test.ll -S -o testDebugify.ll
CheckModuleDebugify: Skipping module without debugify metadata

Differential Revision: https://reviews.llvm.org/D80553
llvm/lib/Transforms/Utils/Debugify.cpp