[all-commits] [llvm/llvm-project] dee9b0: [riscv] Add some minimal tracing output to InsertV...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri May 6 13:08:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dee9b01d83df8a20db7b983d0f3cc6dce65e022f
      https://github.com/llvm/llvm-project/commit/dee9b01d83df8a20db7b983d0f3cc6dce65e022f
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-05-06 (Fri, 06 May 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

  Log Message:
  -----------
  [riscv] Add some minimal tracing output to InsertVSETVLI

Only available with -debug.  Main purpose is simplifying an upcoming change, and providing tools for debugging problems.


  Commit: 99a41005fe780570b06e88facf464e1e3c0e5a6d
      https://github.com/llvm/llvm-project/commit/99a41005fe780570b06e88facf464e1e3c0e5a6d
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-05-06 (Fri, 06 May 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

  Log Message:
  -----------
  [riscv] Add early return to InsertVSETLI fixed point step [nfc]

If the income state hasn't changed, and the step function is fixed by assumption, then the output state can't have changed.

In the current algorithm, this is a very minor win and mostly allows adding tracing output without being horrible verbose.


Compare: https://github.com/llvm/llvm-project/compare/5930691ee1b6...99a41005fe78


More information about the All-commits mailing list