[all-commits] [llvm/llvm-project] 410853: [Hexagon] Extend OptAddrMode pass to vgather

shubhamp-ca via All-commits all-commits at lists.llvm.org
Wed Jan 5 08:44:45 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41085357df2b2926bbe4494d8572395f891fdd02
  Author: Shubham Pawar <shubhamp at quicinc.com>
  Date:   2022-01-05 (Wed, 05 Jan 2022)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
    M llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
    M llvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp
    M llvm/lib/Target/Hexagon/HexagonPatternsV65.td
    M llvm/test/CodeGen/Hexagon/packetize-vgather-slot01.mir
    A llvm/test/CodeGen/Hexagon/vgather-opt-addr.ll
    M llvm/test/CodeGen/Hexagon/vgather-packetize.mir

  Log Message:
  [Hexagon] Extend OptAddrMode pass to vgather

This change extends the addressing mode optimization
pass to HVX vgather. This is specifically intended to
resolve compiler not generating indexed addresses for
vgather stores to vtcm. Changed the vgather pseudo
instructions to accept an immediate operand and handled
addition of appropriate immediate operand in addressing
mode optimization pass.

More information about the All-commits mailing list