git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213459
91177308-0d34-0410-b5e6-
96231b3b80d8
void AMDGPUTTI::getUnrollingPreferences(Loop *L,
UnrollingPreferences &UP) const {
void AMDGPUTTI::getUnrollingPreferences(Loop *L,
UnrollingPreferences &UP) const {
for (const BasicBlock *BB : L->getBlocks()) {
for (const Instruction &I : *BB) {
const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I);
for (const BasicBlock *BB : L->getBlocks()) {
for (const Instruction &I : *BB) {
const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I);
//
// Don't use the maximum allowed value here as it will make some
// programs way too big.
//
// Don't use the maximum allowed value here as it will make some
// programs way too big.