Revert accidentally committed r213459

llvm-svn: 213461
This commit is contained in:
Matt Arsenault 2014-07-19 19:17:33 +00:00
parent 1b54c238b6
commit 1c407fb5a3
1 changed files with 1 additions and 3 deletions

View File

@ -101,8 +101,6 @@ bool AMDGPUTTI::hasBranchDivergence() const { return true; }
void AMDGPUTTI::getUnrollingPreferences(Loop *L,
UnrollingPreferences &UP) const {
UP.Threshold = 300;
for (const BasicBlock *BB : L->getBlocks()) {
for (const Instruction &I : *BB) {
const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I);
@ -122,7 +120,7 @@ void AMDGPUTTI::getUnrollingPreferences(Loop *L,
//
// Don't use the maximum allowed value here as it will make some
// programs way too big.
UP.Threshold = 600;
UP.Threshold = 500;
}
}
}