diff options
author | Nikita Popov <npopov@redhat.com> | 2024-11-27 09:38:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-27 09:38:51 +0100 |
commit | e636434bdf74cf40071b776ef05aafbf161ce4cd (patch) | |
tree | 04e4deb5aba167f9751f47e55a17b8088122e41b /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | c00e53208db638c35499fc80b555f8e14baa35f0 (diff) | |
download | llvm-e636434bdf74cf40071b776ef05aafbf161ce4cd.zip llvm-e636434bdf74cf40071b776ef05aafbf161ce4cd.tar.gz llvm-e636434bdf74cf40071b776ef05aafbf161ce4cd.tar.bz2 |
[BasicAA][LAA] Don't use same-block phis in cross iteration mode (#116802)
In 4de3184f07fd8c548125d315dd306d4afa7c9698 we exposed BasicAA's
cross-iteration mode for use in LAA, so we can handle selects with equal
conditions correctly (where the select condition is not actually equal
across iterations).
However, if we replace the selects with equivalent phis, the issue still
exists. In the phi case, we effectively still have an assumption that
the condition(s) that control which phi arg is used will be the same
across iterations. Fix this by disabling this phi handling in
cross-iteration mode.
(I'm not entirely sure whether this is also needed when BasicAA enables
cross-iteration mode during internal phi recursion, but I wouldn't be
surprised if that's the case.)
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
0 files changed, 0 insertions, 0 deletions