diff options
| author | David Green <david.green@arm.com> | 2024-10-31 07:50:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-31 07:50:44 +0000 |
| commit | 9735c0518677a40d44cfd730d48d44bd29d0e9d7 (patch) | |
| tree | 471f05b8188b96a816b0b8e9957dea7655be69b1 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | dadfd4a288d9fd87314c1542a052e5942960c40b (diff) | |
[ValueTracking] Compute KnownFP state from recursive select/phi. (#113686)
Given a recursive phi with select:
%p = phi [ 0, entry ], [ %sel, loop]
%sel = select %c, %other, %p
The fp state can be calculated using the knowledge that the select/phi
pair can only be the initial state (0 here) or from %other. This adds a
short-cut into computeKnownFPClass for PHI to detect that the select is
recursive back to the phi, and if so use the state from the other
operand.
This helps to address a regression from #83200.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
