[all-commits] [llvm/llvm-project] 017186: [Hexagon] Place aligned loads closer to users

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Fri Nov 11 12:05:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 017186294d933921d1667ffbad82981dda09dacd
      https://github.com/llvm/llvm-project/commit/017186294d933921d1667ffbad82981dda09dacd
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
    A llvm/test/CodeGen/Hexagon/autohvx/vector-align-interleaved.ll
    A llvm/test/CodeGen/Hexagon/autohvx/vector-align-only-phi-use.ll
    M llvm/test/CodeGen/Hexagon/autohvx/vector-align-tbaa.ll
    A llvm/test/CodeGen/Hexagon/autohvx/vector-align-use-in-different-block.ll

  Log Message:
  -----------
  [Hexagon] Place aligned loads closer to users

Vector alignment code was grouping all aligned loads together. In some
cases the groups could become quite large causing a lot of spill to be
generated. This will place the loads closer to where they are used,
reducing the register pressure.




More information about the All-commits mailing list