[all-commits] [llvm/llvm-project] 4abe3f: [SPIRV] Fix bug in emitting GLSL ext inst names

Natalie Chouinard via All-commits all-commits at lists.llvm.org
Tue Sep 19 06:45:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4abe3f18e2f021eee24b2b2c5cc366226fee0c60
      https://github.com/llvm/llvm-project/commit/4abe3f18e2f021eee24b2b2c5cc366226fee0c60
  Author: Natalie Chouinard <chouinard at google.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.cpp
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/abs.ll

  Log Message:
  -----------
  [SPIRV] Fix bug in emitting GLSL ext inst names

Lookup extended instruction numbers in the given instruction set so that
correct names are now emitted for GLSL.std.450 instructions as well as
OpenCL.std.

Add a single test to verify correct abs intrinsic names are emitted when
targetting logical SPIR-V.

Depends on D156424

Differential Revision: https://reviews.llvm.org/D159227




More information about the All-commits mailing list