[PATCH] D102116: [LoopIdiom] 'logical right-shift until zero' ('count active bits') "on steroids" idiom recognition.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 11 15:48:33 PDT 2021
craig.topper added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp:2605
+ BasicBlock *SuccessorBB = CurLoop->getExitBlock();
+ assert(LoopPreheaderBB && "There is only a single successor.");
+
----------------
This should check SuccessorBB?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102116/new/
https://reviews.llvm.org/D102116
More information about the llvm-commits
mailing list