aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <max.kazantsev@azul.com>2019-01-25 05:05:02 +0000
committerMax Kazantsev <max.kazantsev@azul.com>2019-01-25 05:05:02 +0000
commit38cd9acbb9ea3c0b0886584e45930a357c419821 (patch)
tree52b67d2b6a6a9f69d34ca0275cdc3fa6560a8fae /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent299d690a502b5a1d56e5e73b2bd7c137b82c20a6 (diff)
downloadllvm-38cd9acbb9ea3c0b0886584e45930a357c419821.zip
llvm-38cd9acbb9ea3c0b0886584e45930a357c419821.tar.gz
llvm-38cd9acbb9ea3c0b0886584e45930a357c419821.tar.bz2
[LoopSimplifyCFG] Fix inconsistency in blocks in loop markup
2nd part of D57095 with the same reason, just in another place. We never fold branches that are not immediately in the current loop, but this check is missing in `IsEdgeLive` As result, it may think that the edge in subloop is dead while it's live. It's a pessimization in the current stance. Differential Revision: https://reviews.llvm.org/D57147 Reviewed By: rupprecht llvm-svn: 352170
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions