OSDN Git Service

Fix typos in comment.
authorJoerg Sonnenberger <joerg@bec.de>
Thu, 16 May 2019 18:01:57 +0000 (18:01 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Thu, 16 May 2019 18:01:57 +0000 (18:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360921 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Passes/PassBuilder.cpp

index 3fb963f..e4d1527 100644 (file)
@@ -944,7 +944,7 @@ ModulePassManager PassBuilder::buildModuleOptimizationPipeline(
 
   // Optimize PHIs by speculating around them when profitable. Note that this
   // pass needs to be run after any PRE or similar pass as it is essentially
-  // inserting redudnancies into the progrem. This even includes SimplifyCFG.
+  // inserting redundancies into the program. This even includes SimplifyCFG.
   OptimizePM.addPass(SpeculateAroundPHIsPass());
 
   for (auto &C : OptimizerLastEPCallbacks)