[all-commits] [llvm/llvm-project] 09d84e: [Hexagon] Implement helper to get intrinsic for in...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Fri Oct 7 15:56:29 PDT 2022


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

  Changed paths:
    A llvm/lib/Target/Hexagon/HexagonDepInstrIntrinsics.inc
    M llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
    M llvm/lib/Target/Hexagon/HexagonSubtarget.h
    M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp

  Log Message:
  -----------
  [Hexagon] Implement helper to get intrinsic for instruction opcode

There are intrinsics for most scalar instructions and almost all HVX
instructions. What's somewhat painful is that there are two intrinsics
for each HVX instruction: one for 64- and one for 128-byte mode.
Instead of checking the current codegen settings every time, this
function would simply return the right intrinsic.




More information about the All-commits mailing list