[PATCH] D78277: [SimpleLoopUnswitch] Update DefaultExit condition to check unreachable is not empty.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 18:54:07 PDT 2020
efriedma added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp:614
+ bool isUnreachable = isa<UnreachableInst>(TI);
+ return !isUnreachable || (isUnreachable && (&*BBToCheck.begin() != TI));
+ };
----------------
Need to skip debug info
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78277/new/
https://reviews.llvm.org/D78277
More information about the llvm-commits
mailing list