[all-commits] [llvm/llvm-project] e492cd: [Hexagon] Add couple of helper functions in Hexago...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Fri Oct 7 09:10:31 PDT 2022


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

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp

  Log Message:
  -----------
  [Hexagon] Add couple of helper functions in HexagonVectorCombine

1. `length(value/type)`: return the number of elements in the vector
   input,
2. `getHvxTy(elem_type)`: return the HVX vector type with the element
   type provided.

These will help write things more succintly.




More information about the All-commits mailing list