[all-commits] [llvm/llvm-project] d65fa2: [Hexagon] Widen vector types with non-power-of-2 e...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Mon May 30 12:58:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d65fa2c43cfaa7a6a15e65f27b7e73dfb6f8f0d4
      https://github.com/llvm/llvm-project/commit/d65fa2c43cfaa7a6a15e65f27b7e73dfb6f8f0d4
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2022-05-30 (Mon, 30 May 2022)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
    A llvm/test/CodeGen/Hexagon/isel-v3i16.ll

  Log Message:
  -----------
  [Hexagon] Widen vector types with non-power-of-2 element counts

Such vector types cannot be split at the moment, because splitting expects
an even number of elements in the source type. If a target marks such a type
as "split", TargetLoweringBase::computeRegisterProperties will override it
with widening to the next power of 2. This could lead to issues during
instruction selection when conflicting information about how to handle this
type is present.




More information about the All-commits mailing list