[all-commits] [llvm/llvm-project] 62fd4d: [IR] Consolidate OneNthElements IIT descriptors. N...

Luke Lau via All-commits all-commits at lists.llvm.org
Mon May 26 11:35:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62fd4d18e52e61fe1e67cbf9d1c4355a34f84325
      https://github.com/llvm/llvm-project/commit/62fd4d18e52e61fe1e67cbf9d1c4355a34f84325
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-05-26 (Mon, 26 May 2025)

  Changed paths:
    M llvm/include/llvm/IR/Intrinsics.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/IR/Intrinsics.cpp

  Log Message:
  -----------
  [IR] Consolidate OneNthElements IIT descriptors. NFCI (#141492)

This replaces LLVMHalfElementsVectorType and
LLVMOne{3,4,5,6,7,8}ElementsVectorType with one parameterized IIT
descriptor.

The type signature is encoded as the argument index of the vector type
to match followed by the divisor N, and inside IITDescriptor this is
stored as two 16 bit parts, similarly to LLVMVectorOfAnyPointersToElt.

This also allows us to use a foreach to declare the [de]interleave
intrinsics.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list