aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/Parallelize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/IPO/Parallelize.cpp')
-rw-r--r--lib/Transforms/IPO/Parallelize.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/IPO/Parallelize.cpp b/lib/Transforms/IPO/Parallelize.cpp
index e533c4ea5e..09b7dc21cd 100644
--- a/lib/Transforms/IPO/Parallelize.cpp
+++ b/lib/Transforms/IPO/Parallelize.cpp
@@ -81,7 +81,7 @@ static bool isSync(const CallInst& CI) {
// 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 @@ void Cilkifier::DFSVisitInstr(Instruction* I,
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 @@ bool Parallelize::run(Module& M)
#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(),