[all-commits] [llvm/llvm-project] a5605f: [RISCV] Fix operand number in debug message in RIS...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Aug 2 15:27:44 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5605f1f6853ee26456895f6055fa5e11a875de0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

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

  Log Message:
  [RISCV] Fix operand number in debug message in RISCVMergeBaseOffset.

This used to print from the ADDI where the operand number was
correct. It recently changed to print from the LUI or AUIPC which
needs to use operand 1 instead of 2.

This shows up as a crash with -debug.

More information about the All-commits mailing list