[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp

Devang Patel dpatel at apple.com
Wed Apr 25 10:15:43 PDT 2007



Changes in directory llvm/lib/Transforms/Scalar:

ScalarReplAggregates.cpp updated: 1.88 -> 1.89
---
Log message:

Remove unused function argument.


---
Diffs of the changes:  (+1 -1)

 ScalarReplAggregates.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
diff -u llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.88 llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.89
--- llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.88	Wed Apr 25 01:40:51 2007
+++ llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp	Wed Apr 25 12:15:20 2007
@@ -119,7 +119,7 @@
     // the entry node
     for (BasicBlock::iterator I = BB.begin(), E = --BB.end(); I != E; ++I)
       if (AllocaInst *AI = dyn_cast<AllocaInst>(I))       // Is it an alloca?
-        if (isAllocaPromotable(AI, TD))
+        if (isAllocaPromotable(AI))
           Allocas.push_back(AI);
 
     if (Allocas.empty()) break;






More information about the llvm-commits mailing list