[all-commits] [llvm/llvm-project] db5b79: [Hexagon] Fix an instruction move in HexagonVector...

bcahoon via All-commits all-commits at lists.llvm.org
Tue Jan 4 11:47:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db5b7915959a45951c3e6a0d5cc61f0f4ddfe291
      https://github.com/llvm/llvm-project/commit/db5b7915959a45951c3e6a0d5cc61f0f4ddfe291
  Author: Brendon Cahoon <bcahoon at quicinc.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
    A llvm/test/CodeGen/Hexagon/autohvx/vector-align-bad-move.ll

  Log Message:
  -----------
  [Hexagon] Fix an instruction move in HexagonVectorCombine

The HexagonVectorCombine pass was moving an instruction
incorrectly, which caused a use in a GEP that was not yet
defined.

HexagonVectorCombine removes a load from a group due to its
dependences, but in realignGroup, the load is processed anyways.
In realignGroup, when determining the maximum alignment, only
those instructions still in the group should be considered.




More information about the All-commits mailing list