[all-commits] [llvm/llvm-project] 01487f: [TypePromotion] Deference pointer before printing ...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Mar 2 23:45:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01487f384a1eeb664bc6803cc996054f838eda95
      https://github.com/llvm/llvm-project/commit/01487f384a1eeb664bc6803cc996054f838eda95
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M llvm/lib/CodeGen/TypePromotion.cpp

  Log Message:
  -----------
  [TypePromotion] Deference pointer before printing it in a debug message.

Without deferencing it just prints the value of the pointer which
isn't meaningful. Dereferencing prints the operand.




More information about the All-commits mailing list