[all-commits] [llvm/llvm-project] ee198d: [mips] Improve vr4300 mulmul bugfix pass

Random via All-commits all-commits at lists.llvm.org
Thu Jan 20 09:10:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee198df2e14c139340421d4f5310dbaf9f725518
      https://github.com/llvm/llvm-project/commit/ee198df2e14c139340421d4f5310dbaf9f725518
  Author: Random06457 <28494085+Random06457 at users.noreply.github.com>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M llvm/lib/Target/Mips/MipsMulMulBugPass.cpp
    M llvm/test/CodeGen/Mips/vr4300-mulmul.ll

  Log Message:
  -----------
  [mips] Improve vr4300 mulmul bugfix pass

When compiling with dwarf info, the mfix4300 flag introduced in
https://reviews.llvm.org/D116238 can miss some occurrences of the vr4300
mulmul bug if a debug instruction happens to be between two `muls`
instructions. This change skips debug instructions in order to fix
the mulmul bug detection.

Fixes https://github.com/llvm/llvm-project/issues/53094

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




More information about the All-commits mailing list