aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorUsman Nadeem <mnadeem@quicinc.com>2024-09-24 08:54:36 -0700
committerGitHub <noreply@github.com>2024-09-24 08:54:36 -0700
commitd4a38c8ff5c993e14c42895b51a47272fb03a857 (patch)
treebfc6535a680e01de8b9f1f68b0203f1de74e63a2 /lldb/unittests/ScriptInterpreter/Python
parentd075debc508898d5f365f8e909c54d6f4edada85 (diff)
downloadllvm-d4a38c8ff5c993e14c42895b51a47272fb03a857.zip
llvm-d4a38c8ff5c993e14c42895b51a47272fb03a857.tar.gz
llvm-d4a38c8ff5c993e14c42895b51a47272fb03a857.tar.bz2
[DFAJumpThreading] Handle select unfolding when user phi is not a dir… (#109511)
…ect successor Previously the code assumed that the select instruction is defined in a block that is a direct predecessor of the block where the PHINode uses it. So, we were hitting an assertion when we tried to access the def block as an incoming block for the user phi node. This patch handles that case by using the correct end block and creating a new phi node that aggregates both the values of the select in that end block, and then using that new unfolded phi to overwrite the original user phi node. Fixes #106083 Change-Id: Ie471994cca232318f74a6e6438efa21e561c2dc0
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions