[all-commits] [llvm/llvm-project] 0ddf38: [Hexagon] Improve stack address base reuse for HVX...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Mar 17 19:32:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ddf38c99ebbcec48cb4bce450a59d805e827fe6
      https://github.com/llvm/llvm-project/commit/0ddf38c99ebbcec48cb4bce450a59d805e827fe6
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2021-03-17 (Wed, 17 Mar 2021)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
    A llvm/test/CodeGen/Hexagon/hvx-reuse-fi-base.ll

  Log Message:
  -----------
  [Hexagon] Improve stack address base reuse for HVX spills

The offset in HVX loads/stores is only 4 bits long, so often an
extra register is needed to hold the address. Minimize the number
of such registers by "standardizing" the base addresses and reusing
preexisting base registers when replacing frame indices.




More information about the All-commits mailing list