aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAndrew Litteken <andrew.litteken@gmail.com>2022-03-21 10:18:24 -0500
committerAndrew Litteken <andrew.litteken@gmail.com>2022-03-21 11:05:15 -0500
commit4e500df89ec6104771699dbf674afa982d5c672e (patch)
tree69fdbc860ad4acf8c898ebf04ac8ee6059b7377f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2ed030ba88f98e7e8a8fc1ae5c8b6964fb230bb9 (diff)
downloadllvm-4e500df89ec6104771699dbf674afa982d5c672e.zip
llvm-4e500df89ec6104771699dbf674afa982d5c672e.tar.gz
llvm-4e500df89ec6104771699dbf674afa982d5c672e.tar.bz2
[IROutliner] Fix phi nodes when self referential within block but doesn't contain branch
When outlining a phi node, if the the incoming branch is a block contained in the region and the branch from that block is not outlined, we create broken code. The fix is to recognize when that branch from the included incoming block is not contained, and ignore the region. Reviewer: paquette Differential Revision: https://reviews.llvm.org/D121311
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions