[llvm-commits] [llvm] r66205 - /llvm/branches/Apple/Dib/lib/Transforms/Scalar/ScalarReplAggregates.cpp

Evan Cheng evan.cheng at apple.com
Thu Mar 5 13:27:52 PST 2009


Author: evancheng
Date: Thu Mar  5 15:27:52 2009
New Revision: 66205

URL: http://llvm.org/viewvc/llvm-project?rev=66205&view=rev
Log:
Remove r65672 from Dib. It's not needed after r65959.

Modified:
    llvm/branches/Apple/Dib/lib/Transforms/Scalar/ScalarReplAggregates.cpp

Modified: llvm/branches/Apple/Dib/lib/Transforms/Scalar/ScalarReplAggregates.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/lib/Transforms/Scalar/ScalarReplAggregates.cpp?rev=66205&r1=66204&r2=66205&view=diff

==============================================================================
--- llvm/branches/Apple/Dib/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
+++ llvm/branches/Apple/Dib/lib/Transforms/Scalar/ScalarReplAggregates.cpp Thu Mar  5 15:27:52 2009
@@ -287,8 +287,7 @@
     const Type *VectorTy = 0;
     bool HadAVector = false;
     if (CanConvertToScalar(AI, IsNotTrivial, VectorTy, HadAVector, 
-                           0, unsigned(AllocaSize)) && IsNotTrivial &&
-        AllocaSize <= SRThreshold) {
+                           0, unsigned(AllocaSize)) && IsNotTrivial) {
       AllocaInst *NewAI;
       // If we were able to find a vector type that can handle this with
       // insert/extract elements, and if there was at least one use that had





More information about the llvm-commits mailing list