[llvm] r303826 - [coroutines] CoroFrame.cpp conform to coding convention (s/repeat/Repeat) (NFC)
Gor Nishanov via llvm-commits
llvm-commits at lists.llvm.org
Wed May 24 18:07:10 PDT 2017
Author: gornishanov
Date: Wed May 24 20:07:10 2017
New Revision: 303826
URL: http://llvm.org/viewvc/llvm-project?rev=303826&view=rev
Log:
[coroutines] CoroFrame.cpp conform to coding convention (s/repeat/Repeat) (NFC)
Modified:
llvm/trunk/lib/Transforms/Coroutines/CoroFrame.cpp
Modified: llvm/trunk/lib/Transforms/Coroutines/CoroFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Coroutines/CoroFrame.cpp?rev=303826&r1=303825&r2=303826&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Coroutines/CoroFrame.cpp (original)
+++ llvm/trunk/lib/Transforms/Coroutines/CoroFrame.cpp Wed May 24 20:07:10 2017
@@ -800,9 +800,8 @@ void coro::buildCoroutineFrame(Function
}
// Put CoroEnds into their own blocks.
- for (CoroEndInst *CE : Shape.CoroEnds) {
+ for (CoroEndInst *CE : Shape.CoroEnds)
splitAround(CE, "CoroEnd");
- }
// Transforms multi-edge PHI Nodes, so that any value feeding into a PHI will
// never has its definition separated from the PHI by the suspend point.
@@ -814,7 +813,7 @@ void coro::buildCoroutineFrame(Function
IRBuilder<> Builder(F.getContext());
SpillInfo Spills;
- for (int repeat = 0; repeat < 4; ++repeat) {
+ for (int Repeat = 0; Repeat < 4; ++Repeat) {
// See if there are materializable instructions across suspend points.
for (Instruction &I : instructions(F))
if (materializable(I))
More information about the llvm-commits
mailing list