aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAndrew Litteken <andrew.litteken@gmail.com>2022-03-09 10:33:33 -0800
committerAndrew Litteken <andrew.litteken@gmail.com>2022-03-14 12:00:01 -0500
commit3c90812f3b43fae3a4a8f0d0d6ec29824690431b (patch)
tree47b9320f3dbe69899f8f010d6bcff5b806ce11f6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent5fc70e53bf2e61290d30c59fb45b034b03471cc6 (diff)
downloadllvm-3c90812f3b43fae3a4a8f0d0d6ec29824690431b.zip
llvm-3c90812f3b43fae3a4a8f0d0d6ec29824690431b.tar.gz
llvm-3c90812f3b43fae3a4a8f0d0d6ec29824690431b.tar.bz2
[IROutliner] Avoid reusing PHINodes that have already been matched when merging outlined functions' phi node blocks
When there are two external phi nodes for two different outlined regions, when compressing the created phi nodes between the two regions, the matching for the second phi node in the second region matches the first phi node created for the first region rather than the second phi node created for the first region. This adds an extra output path where there should not be one. The fix is the ignore phi nodes that have already been matched for each region. Reviewer: paquette Differential Revision: https://reviews.llvm.org/D121312
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions