diff options
| author | Philip Pfaffe <philip.pfaffe@gmail.com> | 2017-09-28 12:20:24 +0000 |
|---|---|---|
| committer | Philip Pfaffe <philip.pfaffe@gmail.com> | 2017-09-28 12:20:24 +0000 |
| commit | 859ef1c09e3d74e44fc10f1097231bd9915235bc (patch) | |
| tree | d187f4dd327579c17693748a1d8d68130a05c682 /polly/lib/CodeGen | |
| parent | 8af01573a3d7a3924fc99e4338dd493ad24d694e (diff) | |
| download | bcm5719-llvm-859ef1c09e3d74e44fc10f1097231bd9915235bc.tar.gz bcm5719-llvm-859ef1c09e3d74e44fc10f1097231bd9915235bc.zip | |
Fix the build after r314375
r314375 privatized Loop's constructor and replaced it with an Allocator.
llvm-svn: 314412
Diffstat (limited to 'polly/lib/CodeGen')
| -rw-r--r-- | polly/lib/CodeGen/LoopGenerators.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp index 42f7e6710aa..368a645c46c 100644 --- a/polly/lib/CodeGen/LoopGenerators.cpp +++ b/polly/lib/CodeGen/LoopGenerators.cpp @@ -74,7 +74,7 @@ Value *polly::createLoop(Value *LB, Value *UB, Value *Stride, // Update LoopInfo Loop *OuterLoop = LI.getLoopFor(BeforeBB); - Loop *NewLoop = new Loop(); + Loop *NewLoop = LI.AllocateLoop(); if (OuterLoop) OuterLoop->addChildLoop(NewLoop); |

