[PATCH] D94995: Loop peeling: check that latch is conditional branch
Joseph Tremoulet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 19 12:52:34 PST 2021
JosephTremoulet added a comment.
This is meant to address a regression from rG7f69860243e8 <https://reviews.llvm.org/rG7f69860243e8933c3da1177afde0d3cb6544d04e>, which moved a check for whether dynamic cast to `BranchInst` succeeds in `UnrollLoop` from before to after the call to `peelLoop`. Adding a check to `canPeel` seemed like the most logical option to me.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94995/new/
https://reviews.llvm.org/D94995
More information about the llvm-commits
mailing list