[llvm-dev] reg getInductionVariable
Doerfert, Johannes via llvm-dev
llvm-dev at lists.llvm.org
Sat Dec 14 10:18:59 PST 2019
On 12/14, Dangeti Tharun kumar via llvm-dev wrote:
> The function getInductionVariable mandates the loop to be in "SimplifyForm".
> Is it necessary for the loop to have *DedicatedExists *to find the
> induction variable?
> Can this condition be relaxed?
Potentially, but it is often simpler to force simplified form. If need
dedicated exists, split the exiting edges of a loop. That will create
dedicated exist blocks.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 228 bytes
Desc: not available
More information about the llvm-dev