[PATCH] D132208: [LoopIntWrapPredication] Loop Integer Wrapping Predication Pass
Sergei Kachkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 23 07:45:39 PDT 2022
kachkov98 added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopIntWrapPredication.cpp:85
+ Chain.push_back(Inst);
+ CurUse = &*Inst->use_begin();
+ }
----------------
hiraditya wrote:
> What happens when `Inst->use_empty() == true`?
We are checking that Inst has exactly one use (line 82)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132208/new/
https://reviews.llvm.org/D132208
More information about the llvm-commits
mailing list