[all-commits] [llvm/llvm-project] 023e7d: [RISCV] Skip unrelated COPY during Zdinx/P instruc...

Sudharsan Veeravalli via All-commits all-commits at lists.llvm.org
Thu May 28 21:39:11 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 023e7decf625eb03e93aec568ffdbf13e726fbee
      https://github.com/llvm/llvm-project/commit/023e7decf625eb03e93aec568ffdbf13e726fbee
  Author: Sudharsan Veeravalli <svs at qti.qualcomm.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVMoveMerger.cpp
    M llvm/test/CodeGen/RISCV/rv32-merge-non-arg-reg.mir

  Log Message:
  -----------
  [RISCV] Skip unrelated COPY during Zdinx/P instruction generation in RISCVMoveMerge (#200219)

`findMatchingInstPair` returned early on the first non-matching `COPY`,
which could miss a valid later `COPY` pair.

Update the scan to continue past non-matching `COPY` instructions and
only apply existing dependency checks when a lane match is found.



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