diff options
| author | Alex Voicu <alexandru.voicu@amd.com> | 2025-11-03 19:30:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-03 19:30:04 +0200 |
| commit | 513334faec2594bbeb3ac00f0092bed20b23abd3 (patch) | |
| tree | 6a8e3492e985ba38a53250431e91cf0389c136e8 /llvm/lib/TextAPI/BinaryReader/DylibReader.cpp | |
| parent | 6a275de13f6cdf927cf3cd6125ea858ddc0c4b1d (diff) | |
| download | llvm-513334faec2594bbeb3ac00f0092bed20b23abd3.zip llvm-513334faec2594bbeb3ac00f0092bed20b23abd3.tar.gz llvm-513334faec2594bbeb3ac00f0092bed20b23abd3.tar.bz2 | |
[NFC][SPIRV] Fix function type recovery (#165934)
Due to limitations in GISel / IRTranslator, the SPIR-V BE replaces aggregate function args with `i32` placeholders, which are subsequently used to retrieve the original type after IR translation, from metadata. Due to what appears to be an oversight, the current implementation only handles a single mutation, as it does not traverse the metadata, but rather only takes the first operand. This patch addresses that limitation by correctly iterating the metadata.
Diffstat (limited to 'llvm/lib/TextAPI/BinaryReader/DylibReader.cpp')
0 files changed, 0 insertions, 0 deletions
