[PATCH] D138108: [SelectOptimize] Add some debug logging. NFC

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 02:26:35 PST 2022


dmgreen created this revision.
dmgreen added reviewers: apostolakis, davidxl.
Herald added a subscriber: hiraditya.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

This is some quick debug messages for the SelectOptimize pass, adding some information for the costs that are measured from getInstructionCost calls, and re-using the existing optimization remarks to print some information about if transforms were performed or not.


https://reviews.llvm.org/D138108

Files:
  llvm/lib/CodeGen/SelectOptimize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138108.475738.patch
Type: text/x-patch
Size: 5360 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221116/641ca3af/attachment.bin>


More information about the llvm-commits mailing list