summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorGor Nishanov <GorNishanov@gmail.com>2017-05-25 01:07:10 +0000
committerGor Nishanov <GorNishanov@gmail.com>2017-05-25 01:07:10 +0000
commit1fbc01f70f60a7034b06ab85d8936b0b3f80e156 (patch)
tree2a1598b9da02869b8e7cd9ca29463b1c9043bfae /llvm/lib/Transforms
parent0ea1863b27a6ed31ead3fdb70cc5aaded44e9487 (diff)
downloadbcm5719-llvm-1fbc01f70f60a7034b06ab85d8936b0b3f80e156.tar.gz
bcm5719-llvm-1fbc01f70f60a7034b06ab85d8936b0b3f80e156.zip
[coroutines] CoroFrame.cpp conform to coding convention (s/repeat/Repeat) (NFC)
llvm-svn: 303826
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Coroutines/CoroFrame.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Coroutines/CoroFrame.cpp b/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
index 458297902b6..85e9003ec3c 100644
--- a/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
+++ b/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
@@ -800,9 +800,8 @@ void coro::buildCoroutineFrame(Function &F, Shape &Shape) {
}
// 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 &F, Shape &Shape) {
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))
OpenPOWER on IntegriCloud