aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorAndrew Litteken <andrew.litteken@gmail.com>2022-03-13 23:45:09 -0500
committerAndrew Litteken <andrew.litteken@gmail.com>2022-03-14 14:56:59 -0500
commitc79ab1065e89872668b8d43c747ff3e5974b0d96 (patch)
treefe6e40c41046df8cf893da3af4c95b08b72dc03a /lldb/source/Commands/CommandObjectCommands.cpp
parentaaca634c94c6dc6a18e07b4e33530cc1c07faeeb (diff)
downloadllvm-c79ab1065e89872668b8d43c747ff3e5974b0d96.zip
llvm-c79ab1065e89872668b8d43c747ff3e5974b0d96.tar.gz
llvm-c79ab1065e89872668b8d43c747ff3e5974b0d96.tar.bz2
[IROutliner] Separate split PHI nodes from multiple exits by different outlinable regions.
The IR Outliner is supposed to extract the outputs contained in an external phi node and place them into a phi node contained within the outlined function. However, when the output values of two outlined functions with two different output sets are contained within the same phi node, they are counted as the same exit path when first analyzed. In reality, these create two different phi nodes, creating an inconsistency, resulting in a mismatch in the expected number of output paths and a crash. This fixes that counting when analyzing the outputs by also analyzing the incoming blocks rather than just the incoming values. Reviewer: paquette Differential Revision: https://reviews.llvm.org/D121313
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions