[all-commits] [llvm/llvm-project] 3aed31: [SPIR-V] Insert service function when module has o...
Arseniy Obolenskiy via All-commits
all-commits at lists.llvm.org
Fri May 29 11:20:02 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3aed319af981c39a0988485135070399917ada56
https://github.com/llvm/llvm-project/commit/3aed319af981c39a0988485135070399917ada56
Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
Date: 2026-05-29 (Fri, 29 May 2026)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
A llvm/test/CodeGen/SPIRV/declarations-only-module.ll
Log Message:
-----------
[SPIR-V] Insert service function when module has only declarations (#199964)
A declarations-only module produces no `MachineFunction` at all,
`SPIRVModuleAnalysis` is freed before `AsmPrinter::doFinalization` and
`outputModuleSections` asserts in `getAnalysis<SPIRVModuleAnalysis>()`
which causes a failure
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