diff options
| author | Florian Hahn <flo@fhahn.com> | 2023-10-27 14:38:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-27 14:38:28 +0100 |
| commit | b0b88643a1facc4fcb06783e295de3d4a91dc924 (patch) | |
| tree | 027bbd524445f9ac40404d166732ed7c11f52f7f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 37d9dc47931fa6bd722be97f5906641a7e8e6c0e (diff) | |
[VPlan] Add initial anlysis to infer scalar type of VPValues. (#69013)
This patch adds initial type inferrence for VPValues. It infers the
scalar type of a VPValue, by bottom-up traversing through defining
recipes until root nodes with known types are reached (e.g. live-ins or
load recipes). The types are then propagated top down through
operations.
This is intended as building block for a VPlan-based cost model, which
will need access to type information for VPValues/recipes.
Initial testing is done by asserting the inferred type matches the type
of the result value generated for a widen and replicate recipes.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
