[PATCH] D29473: [AMDGPU] Unroll preferences improvements
Valery Pykhtin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 3 05:16:48 PST 2017
vpykhtin added inline comments.
================
Comment at: llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp:69
+ continue;
+ if (any_of(L->getSubLoops(), [Inst](const Loop* SubLoop) {
+ return SubLoop->contains(Inst); }))
----------------
Why is this check nessesary? Is this an early exit when GEP is dependent on more than 1 induction variable?
Repository:
rL LLVM
https://reviews.llvm.org/D29473
More information about the llvm-commits
mailing list