[all-commits] [llvm/llvm-project] 631576: [ConstantHoisting] remove a LLVM_DEBUG statement

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Tue Jul 11 09:30:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 631576561ee2d3907f8038dac50e08b266311e12
      https://github.com/llvm/llvm-project/commit/631576561ee2d3907f8038dac50e08b266311e12
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2023-07-11 (Tue, 11 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp

  Log Message:
  -----------
  [ConstantHoisting] remove a LLVM_DEBUG statement

There is no need to print the entire function after a transform via
LLVM_DEBUG statements.  These can be emulated via:
$ llc -print-after=consthoist -filter-print-funcs=<function name>

Otherwise, this makes the output of
$ llc -debug-only=consthoist
too verbose.

Reviewed By: MaskRay

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




More information about the All-commits mailing list