[PATCH] D38494: [SCEV] Handling for ICmp occuring in the evolution chain.

Jun Ryung Ju via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 19:04:40 PDT 2017


junryoungju added a comment.

Okay, just we need to make sure we are evoluting conditional instructions or just checking that instructions are true or false for now.

first one.
If we are "actaully" evoluting a conditional instructions. better creating SCEVConditonal, checking that is true or false when is computing backedge taken count on each AddRecStep.
I think this is a correct way for handling conditional instructions.

second one.
If we are just checking that instructions are true or false. we do not need to rewrite it.
It means its a except of SCEV chain. better inlining code into createAddRecFromPHI.


https://reviews.llvm.org/D38494





More information about the llvm-commits mailing list