[all-commits] [llvm/llvm-project] 905623: [NFC][LICM] Minor improvements to debug output

qcolombet via All-commits all-commits at lists.llvm.org
Mon Jan 11 18:03:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 905623b64df0c865d4dddc4a60aff9751fbaa0e0
      https://github.com/llvm/llvm-project/commit/905623b64df0c865d4dddc4a60aff9751fbaa0e0
  Author: Quentin Colombet <qcolombet at apple.com>
  Date:   2021-01-11 (Mon, 11 Jan 2021)

  Changed paths:
    M llvm/include/llvm/IR/Value.h
    M llvm/lib/IR/Value.cpp
    M llvm/lib/Transforms/Scalar/LICM.cpp

  Log Message:
  -----------
  [NFC][LICM] Minor improvements to debug output

Added a utility function in Value class to print block name and use
block labels for unnamed blocks.
Changed LICM to call this function in its debug output.

Patch by Xiaoqing Wu <xiaoqing_wu at apple.com>

Differential Revision: https://reviews.llvm.org/D93577




More information about the All-commits mailing list