[all-commits] [llvm/llvm-project] 992032: [SPIR-V] Map IR function pointers to registers in ...
Michal Paszkowski via All-commits
all-commits at lists.llvm.org
Sat Jan 7 06:40:27 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 99203241df4d73e569e9219105fec76919f07c19
https://github.com/llvm/llvm-project/commit/99203241df4d73e569e9219105fec76919f07c19
Author: Michal Paszkowski <michal.paszkowski at outlook.com>
Date: 2023-01-07 (Sat, 07 Jan 2023)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.h
M llvm/lib/Target/SPIRV/SPIRVUtils.cpp
M llvm/lib/Target/SPIRV/SPIRVUtils.h
R llvm/test/CodeGen/SPIRV/function/internal-anonymous-function.ll
A llvm/test/CodeGen/SPIRV/function/multiple-anonymous-functions.ll
Log Message:
-----------
[SPIR-V] Map IR function pointers to registers in ModuleAnalysis
SPIRVModuleAnalysis collects module and external function registers
(usually result of OpFunction) for use when emitting OpFunctionCall.
This patch makes the mapping between the functions and registers using
pointers (instead of name strings) to ensure anonymous functions and
calls can be resolved properly.
Differential Revision: https://reviews.llvm.org/D140548
More information about the All-commits
mailing list