mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-29 13:37:15 +00:00
Revert accidentally committed r213459
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213461 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a80d6a07a1
commit
f7a4b7a676
@ -101,8 +101,6 @@ bool AMDGPUTTI::hasBranchDivergence() const { return true; }
|
|||||||
|
|
||||||
void AMDGPUTTI::getUnrollingPreferences(Loop *L,
|
void AMDGPUTTI::getUnrollingPreferences(Loop *L,
|
||||||
UnrollingPreferences &UP) const {
|
UnrollingPreferences &UP) const {
|
||||||
UP.Threshold = 300;
|
|
||||||
|
|
||||||
for (const BasicBlock *BB : L->getBlocks()) {
|
for (const BasicBlock *BB : L->getBlocks()) {
|
||||||
for (const Instruction &I : *BB) {
|
for (const Instruction &I : *BB) {
|
||||||
const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I);
|
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
|
// Don't use the maximum allowed value here as it will make some
|
||||||
// programs way too big.
|
// programs way too big.
|
||||||
UP.Threshold = 600;
|
UP.Threshold = 500;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user