[all-commits] [llvm/llvm-project] c538d5: [SPIR-V] Discard some llvm intrinsics which we do ...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c538d5c8b2f1236f3bbba40c1abd15cf270550a5
      https://github.com/llvm/llvm-project/commit/c538d5c8b2f1236f3bbba40c1abd15cf270550a5
  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/SPIRVInstructionSelector.cpp
    A llvm/test/CodeGen/SPIRV/llvm-intrinsics/ignore-llvm-intrinsic.ll

  Log Message:
  -----------
  [SPIR-V] Discard some llvm intrinsics which we do not expect to actually represent code after lowering (#110233)

There are llvm intrinsics which we do not expect to actually represent
code after lowering or which are not implemented yet but can be found in
a customer's LLVM IR input. We do not want translation to crash when
these llvm intrinsics are found, and this PR fixes the issue with
translation crash for some known cases, aligned with Khronos Translator.



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