[all-commits] [llvm/llvm-project] 08f5f6: [SPIR-V] Fix incorrect emission of G_SPLAT_VECTOR ...

Vyacheslav Levytskyy via All-commits all-commits at lists.llvm.org
Wed Sep 18 00:22:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08f5f6dc8b09c702125e57a5e87ba56203de6263
      https://github.com/llvm/llvm-project/commit/08f5f6dc8b09c702125e57a5e87ba56203de6263
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-09-18 (Wed, 18 Sep 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp

  Log Message:
  -----------
  [SPIR-V] Fix incorrect emission of G_SPLAT_VECTOR for fixed vectors (#108534)

This PR replaces MIRBuilder.buildSplatVector() by
MIRBuilder.buildSplatBuildVector(), so that we emit G_BUILD_VECTOR
instead of G_SPLAT_VECTOR: the latter is incorrect for fixed vectors and
is limited to scalable vectors only.



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