diff options
| author | Alex Voicu <alexandru.voicu@amd.com> | 2025-11-07 01:59:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-07 01:59:36 +0200 |
| commit | 995b0f1883b2199432b419a388a95248d3baf9dc (patch) | |
| tree | 6cfa1cea9687b2a6fbedbd1e69e80d54a2bcbe09 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 32ebf635c2be171b01a288b00b3e64b8de72e61a (diff) | |
| download | llvm-995b0f1883b2199432b419a388a95248d3baf9dc.zip llvm-995b0f1883b2199432b419a388a95248d3baf9dc.tar.gz llvm-995b0f1883b2199432b419a388a95248d3baf9dc.tar.bz2 | |
[SPIRV] Handle `inttoptr` constant expressions in global initialisers (#166494)
`inttoptr` usage in global initialisers is valid, and rather common when it comes to the machinery around vtables (construction vtables are particularly fond). This was not handled by the BE, even though SPIR-V allows forming `SpecConstantOp`s with the `OpConvertUToPtr` opcode, which is what these would map to. We augment instruction selection to address this.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
