[all-commits] [llvm/llvm-project] 7963f4: [Hexagon] Add AggressiveRDF copy propagation (#182...

Yashas Andaluri via All-commits all-commits at lists.llvm.org
Sun May 31 22:59:33 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7963f459e2f3324f912feab2662a0cd23b5762d7
      https://github.com/llvm/llvm-project/commit/7963f459e2f3324f912feab2662a0cd23b5762d7
  Author: Yashas Andaluri <yandalur at qti.qualcomm.com>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    M llvm/lib/Target/Hexagon/CMakeLists.txt
    A llvm/lib/Target/Hexagon/HexagonAggressiveRDFCopy.cpp
    A llvm/lib/Target/Hexagon/HexagonAggressiveRDFCopy.h
    M llvm/lib/Target/Hexagon/HexagonRDFOpt.cpp
    M llvm/lib/Target/Hexagon/RDFCopy.cpp
    M llvm/lib/Target/Hexagon/RDFCopy.h
    A llvm/lib/Target/Hexagon/RDFCopyBase.h
    M llvm/test/CodeGen/Hexagon/rdf-copy-clobber.mir
    A llvm/test/CodeGen/Hexagon/rdf-copy-combine.mir

  Log Message:
  -----------
  [Hexagon] Add AggressiveRDF copy propagation (#182818)

This patch adds a reworked copy propagation algorithm. AggressiveRDF
extends standard RDF copy propagation with support for super-register
and sub-register copy propagation. It determines candidates for copy
propagation by verifying that both the copy instruction and all reached
uses have the same reaching definitions for the source register(s).

Created a RDFCopyBase parent class for the common members used by old
RDF copy propagation and AggressiveRDF copy propagation classes.
AggressiveRDF copy propagation is disabled by default. It can be enabled
using -hexagon-aggressive-rdf-copy=true



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