[all-commits] [llvm/llvm-project] 0d9172: [SPIR-V] Improve pattern matching and tracking of ...

Vyacheslav Levytskyy via All-commits all-commits at lists.llvm.org
Wed Jun 26 10:39:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d9172ecaca2b0834e65343aa24d7cfa4f6d841d
      https://github.com/llvm/llvm-project/commit/0d9172ecaca2b0834e65343aa24d7cfa4f6d841d
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
    M llvm/test/CodeGen/SPIRV/const-nested-vecs.ll
    M llvm/test/CodeGen/SPIRV/pointers/global-zeroinitializer.ll
    A llvm/test/CodeGen/SPIRV/pointers/irtrans-added-int-const-32-64.ll

  Log Message:
  -----------
  [SPIR-V] Improve pattern matching and tracking of constant integers (#96615)

This PR fixes the issue
https://github.com/llvm/llvm-project/issues/96614 by improve pattern
matching and tracking of constant integers. The attached test is
successful if it doesn't crash and generate valid SPIR-V code for both
32 and 64 bits targets.



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