[PATCH] D110060: [LoopBoundSplit] Handle the case in which exiting block is loop header
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 21 21:18:04 PDT 2021
mkazantsev added inline comments.
================
Comment at: llvm/test/Transforms/LoopBoundSplit/bug51866.ll:63
+for.cond: ; preds = %for.inc, %entry
+ %i.0 = phi i16 [ 0, %entry ], [ %inc, %for.inc ]
+ %exitcond.not = icmp eq i16 %i.0, 10
----------------
Could you please add one more Phi next to it (starting from different value, say 10) and make sure it's also properly updated? I don't understand how it will be done.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110060/new/
https://reviews.llvm.org/D110060
More information about the llvm-commits
mailing list