diff options
| author | Arthur Eubanks <aeubanks@google.com> | 2024-02-28 10:53:47 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-28 10:53:47 -0800 |
| commit | 2eb63982e88b9ed8336158d35884b1a1d04a0f78 (patch) | |
| tree | 39debc62be7cb9fc0313fd0b9579d01680baad2a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 782147e82ab3e2d0e22f729ea4e54eeed7b3cb96 (diff) | |
[SROA] Unfold gep of index phi (#83087)
If a gep has only one phi as one of its operands and the remaining
indexes are constant, we can unfold `gep ptr, (phi idx1, idx2)` to `phi
((gep ptr, idx1), (gep ptr, idx2))`.
Take care not to unfold recursive phis.
Followup to #80983.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
