[all-commits] [llvm/llvm-project] 8bc8b8: [SPIR-V] Fix inconsistency between previously dedu...

Vyacheslav Levytskyy via All-commits all-commits at lists.llvm.org
Tue Oct 1 01:47:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bc8b84225765cbeb31c74ac63dff05db1be79e0
      https://github.com/llvm/llvm-project/commit/8bc8b84225765cbeb31c74ac63dff05db1be79e0
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
    A llvm/test/CodeGen/SPIRV/pointers/phi-valid-operand-types-rev.ll
    A llvm/test/CodeGen/SPIRV/pointers/phi-valid-operand-types.ll

  Log Message:
  -----------
  [SPIR-V] Fix inconsistency between previously deduced element type of a pointer and function's return type (#109660)

This PR improves type inference and fixes inconsistency between
previously deduced element type of a pointer and function's return type.
It fixes https://github.com/llvm/llvm-project/issues/109401 by ensuring
that OpPhi is consistent with respect to operand types.



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