[llvm] r213461 - Revert accidentally committed r213459

Matt Arsenault Matthew.Arsenault at amd.com
Sat Jul 19 12:17:33 PDT 2014


Author: arsenm
Date: Sat Jul 19 14:17:33 2014
New Revision: 213461

URL: http://llvm.org/viewvc/llvm-project?rev=213461&view=rev
Log:
Revert accidentally committed r213459

Modified:
    llvm/trunk/lib/Target/R600/AMDGPUTargetTransformInfo.cpp

Modified: llvm/trunk/lib/Target/R600/AMDGPUTargetTransformInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUTargetTransformInfo.cpp?rev=213461&r1=213460&r2=213461&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUTargetTransformInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUTargetTransformInfo.cpp Sat Jul 19 14:17:33 2014
@@ -101,8 +101,6 @@ bool AMDGPUTTI::hasBranchDivergence() co
 
 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(
         //
         // Don't use the maximum allowed value here as it will make some
         // programs way too big.
-        UP.Threshold = 600;
+        UP.Threshold = 500;
       }
     }
   }





More information about the llvm-commits mailing list