[all-commits] [llvm/llvm-project] c782e2: [SPIRV] Don't emit service function basic block na...

Nick Sarnie via All-commits all-commits at lists.llvm.org
Tue Mar 3 06:27:03 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c782e2d40572ce4ff3a71562265bf6f01857c132
      https://github.com/llvm/llvm-project/commit/c782e2d40572ce4ff3a71562265bf6f01857c132
  Author: Nick Sarnie <nick.sarnie at intel.com>
  Date:   2026-03-03 (Tue, 03 Mar 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
    M llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_function_pointers/fun-ptr-service-func.ll
    M llvm/test/CodeGen/SPIRV/pointers/fun-with-aggregate-arg-in-const-init.ll

  Log Message:
  -----------
  [SPIRV] Don't emit service function basic block names (#184206)

Right now if a module has a service function we always emit `OpName
entry` for the service function's basic block.

The actual service function isn't emitted and no other instruction uses
the basic block `OpName` instruction, so don't emit it.

Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>



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