[Coroutine] Fix typos in comment
authorJannik Silvanus <jannik.silvanus@amd.com>
Thu, 26 Jan 2023 11:42:08 +0000 (12:42 +0100)
committerJannik Silvanus <jannik.silvanus@amd.com>
Thu, 26 Jan 2023 11:42:08 +0000 (12:42 +0100)
llvm/lib/Transforms/Coroutines/CoroFrame.cpp

index e98c601..814c839 100644 (file)
@@ -637,10 +637,10 @@ void FrameTypeBuilder::addFieldForAllocas(const Function &F,
     return;
   }
 
-  // Because there are pathes from the lifetime.start to coro.end
+  // Because there are paths from the lifetime.start to coro.end
   // for each alloca, the liferanges for every alloca is overlaped
   // in the blocks who contain coro.end and the successor blocks.
-  // So we choose to skip there blocks when we calculates the liferange
+  // So we choose to skip there blocks when we calculate the liferange
   // for each alloca. It should be reasonable since there shouldn't be uses
   // in these blocks and the coroutine frame shouldn't be used outside the
   // coroutine body.