aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
diff options
context:
space:
mode:
authorfabrizio-indirli <fabrizio.indirli@arm.com>2024-12-16 19:12:32 +0000
committerGitHub <noreply@github.com>2024-12-16 14:12:32 -0500
commitb95dfa3920f71c42ef2991f42a95903cc1202c55 (patch)
treeb0063eb32561b9f08055457096719e3245f1e5d9 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
parent3dfc1d9b0bc41eaf63e551ca357b44a71636b152 (diff)
downloadllvm-b95dfa3920f71c42ef2991f42a95903cc1202c55.zip
llvm-b95dfa3920f71c42ef2991f42a95903cc1202c55.tar.gz
llvm-b95dfa3920f71c42ef2991f42a95903cc1202c55.tar.bz2
[mlir][spirv] Fix LowerABIAttributesPass to generate EntryPoints for SPV1.4 (#118994)
- Extend the SPIRV::LowerABIAttributesPass to detect when the target env is using SPIR-V ver >= 1.4, and in this case add all the functions' interface storage variables to the spirv.EntryPoint calls, as required by the spec of OpEntryPoint: "_Before version 1.4, the interface’s storage classes are limited to the Input and Output storage classes. Starting with version 1.4, the interface’s storage classes are all storage classes used in declaring all global variables referenced by the entry point’s call tree_." - Fix: generate the replacement ops (spirv.AddressOf and .AccessChain) in the order in which the associated variable appears in the function signature Signed-off-by: Fabrizio Indirli <Fabrizio.Indirli@arm.com>
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions