diff options
author | Alina Sbirlea <asbirlea@google.com> | 2020-04-15 21:49:00 -0700 |
---|---|---|
committer | Alina Sbirlea <asbirlea@google.com> | 2020-05-07 13:48:30 -0700 |
commit | 6227f021ad400cc604ca2d15d3639eabfd66a2d9 (patch) | |
tree | 7496cff36e578f48725ad6d62dd63cf7a7d2b8bd /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | c9e6519d158b1b624eed087a332b3ca090d31d19 (diff) | |
download | llvm-6227f021ad400cc604ca2d15d3639eabfd66a2d9.zip llvm-6227f021ad400cc604ca2d15d3639eabfd66a2d9.tar.gz llvm-6227f021ad400cc604ca2d15d3639eabfd66a2d9.tar.bz2 |
[SimpleLoopUnswitch] Update DefaultExit condition to check unreachable is not empty.
Summary:
Update the check for the default exit block to not only check that the
terminator is not unreachable, but also check that unreachable block has
*only* the unreachable instruction.
Reviewers: chandlerc
Subscribers: hiraditya, uabelho, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D78277
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions