[all-commits] [llvm/llvm-project] dd662d: [RISCV] Handle ADD in RISCVInstrInfo::isCopyInstrI...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Wed Mar 5 04:29:25 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd662d8028de628f569a62887378e4ed48d57fb9
      https://github.com/llvm/llvm-project/commit/dd662d8028de628f569a62887378e4ed48d57fb9
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2025-03-05 (Wed, 05 Mar 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/test/CodeGen/RISCV/GlobalISel/constbarrier-rv32.ll
    M llvm/unittests/Target/RISCV/RISCVInstrInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Handle ADD in RISCVInstrInfo::isCopyInstrImpl (#81123)

Split out from #77610 and features a test, as a buggy version of this
caused a regression when landing that patch (the previous version had a
typo picking the wrong register as the source).

This is also motivated by future changes to MachineCopyPropagation which will use this information to determine if we have been left with a nop mv.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list