[all-commits] [llvm/llvm-project] 796321: [Hexagon] Switch vunpackub->op->vpackeb pattern to...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Oct 12 15:31:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79632163db51a11467530f9060e49f3b884e7140
      https://github.com/llvm/llvm-project/commit/79632163db51a11467530f9060e49f3b884e7140
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
    M llvm/test/CodeGen/Hexagon/autohvx/bitcount-128b.ll
    M llvm/test/CodeGen/Hexagon/autohvx/bitcount-64b.ll
    M llvm/test/CodeGen/Hexagon/autohvx/shift-128b.ll
    M llvm/test/CodeGen/Hexagon/autohvx/shift-64b.ll

  Log Message:
  -----------
  [Hexagon] Switch vunpackub->op->vpackeb pattern to vzb/vshuffeb

V6_vzb and V6_vshuffeb can use any 2 resources in a packet, while
V6_vunpackub/V6_vpackeb both need a shift resource.

Also, add patterns for shifting vectors of i8.




More information about the All-commits mailing list