[llvm-commits] CVS: llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp ExtractFunction.cpp InlineSimple.cpp MutateStructTypes.cpp Parallelize.cpp
Misha Brukman
brukman at cs.uiuc.edu
Fri Oct 10 12:49:03 PDT 2003
Changes in directory llvm/lib/Transforms/IPO:
DeadArgumentElimination.cpp updated: 1.5 -> 1.6
ExtractFunction.cpp updated: 1.2 -> 1.3
InlineSimple.cpp updated: 1.52 -> 1.53
MutateStructTypes.cpp updated: 1.38 -> 1.39
Parallelize.cpp updated: 1.8 -> 1.9
---
Log message:
Fix spelling.
---
Diffs of the changes: (+7 -7)
Index: llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
diff -u llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp:1.5 llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp:1.6
--- llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp:1.5 Thu Sep 11 10:31:17 2003
+++ llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp Fri Oct 10 12:48:12 2003
@@ -232,7 +232,7 @@
bool DAE::run(Module &M) {
// First phase: loop through the module, determining which arguments are live.
// We assume all arguments are dead unless proven otherwise (allowing us to
- // determing that dead arguments passed into recursive functions are dead).
+ // determine that dead arguments passed into recursive functions are dead).
//
std::set<Argument*> LiveArguments, MaybeLiveArguments, DeadArguments;
std::multimap<Function*, CallSite> CallSites;
Index: llvm/lib/Transforms/IPO/ExtractFunction.cpp
diff -u llvm/lib/Transforms/IPO/ExtractFunction.cpp:1.2 llvm/lib/Transforms/IPO/ExtractFunction.cpp:1.3
--- llvm/lib/Transforms/IPO/ExtractFunction.cpp:1.2 Wed Apr 16 15:28:39 2003
+++ llvm/lib/Transforms/IPO/ExtractFunction.cpp Fri Oct 10 12:48:12 2003
@@ -15,7 +15,7 @@
if (Named == 0) return false; // No function to extract
}
- // Make sure our result is globally accessable...
+ // Make sure our result is globally accessible...
Named->setLinkage(GlobalValue::ExternalLinkage);
// Mark all global variables internal
Index: llvm/lib/Transforms/IPO/InlineSimple.cpp
diff -u llvm/lib/Transforms/IPO/InlineSimple.cpp:1.52 llvm/lib/Transforms/IPO/InlineSimple.cpp:1.53
--- llvm/lib/Transforms/IPO/InlineSimple.cpp:1.52 Tue Oct 7 14:33:31 2003
+++ llvm/lib/Transforms/IPO/InlineSimple.cpp Fri Oct 10 12:48:12 2003
@@ -52,7 +52,7 @@
if (Callee->use_size() == 1 && Callee->hasInternalLinkage())
InlineCost -= 30000;
- // Add to the inline quality for properties that make the call valueable to
+ // Add to the inline quality for properties that make the call valuable to
// inline. This includes factors that indicate that the result of inlining
// the function will be optimizable. Currently this just looks at arguments
// passed into the function.
Index: llvm/lib/Transforms/IPO/MutateStructTypes.cpp
diff -u llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.38 llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.39
--- llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.38 Mon Sep 8 13:54:53 2003
+++ llvm/lib/Transforms/IPO/MutateStructTypes.cpp Fri Oct 10 12:48:12 2003
@@ -93,7 +93,7 @@
}
-// AdjustIndices - Convert the indexes specifed by Idx to the new changed form
+// AdjustIndices - Convert the indices specified by Idx to the new changed form
// using the specified OldTy as the base type being indexed into.
//
void MutateStructTypes::AdjustIndices(const CompositeType *OldTy,
Index: llvm/lib/Transforms/IPO/Parallelize.cpp
diff -u llvm/lib/Transforms/IPO/Parallelize.cpp:1.8 llvm/lib/Transforms/IPO/Parallelize.cpp:1.9
--- llvm/lib/Transforms/IPO/Parallelize.cpp:1.8 Mon Sep 1 13:01:36 2003
+++ llvm/lib/Transforms/IPO/Parallelize.cpp Fri Oct 10 12:48:12 2003
@@ -81,7 +81,7 @@
// class Cilkifier
//
// Code generation pass that transforms code to identify where Cilk keywords
-// should be inserted. This relies on dis -c to print out the keywords.
+// should be inserted. This relies on `llvm-dis -c' to print out the keywords.
//----------------------------------------------------------------------------
@@ -167,7 +167,7 @@
else
syncI = new CallInst(DummySyncFunc, std::vector<Value*>(), "", I);
- // Remember the sync for each spawn to eliminate rendundant ones later
+ // Remember the sync for each spawn to eliminate redundant ones later
spawnToSyncsMap[cast<CallInst>(root)].insert(syncI);
return;
@@ -494,7 +494,7 @@
#undef CAN_USE_BIND1ST_ON_REFERENCE_TYPE_ARGS
#ifdef CAN_USE_BIND1ST_ON_REFERENCE_TYPE_ARGS
- // Use this undecipherable STLese because erase invalidates iterators.
+ // Use this indecipherable STLese because erase invalidates iterators.
// Otherwise we have to copy sets as above.
hash_set<Function*>::iterator extrasBegin =
std::remove_if(parallelFunctions.begin(), parallelFunctions.end(),
More information about the llvm-commits
mailing list