summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/LoopGenerators.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-03-04 14:58:49 +0000
committerTobias Grosser <tobias@grosser.es>2014-03-04 14:58:49 +0000
commit5103ba7c919dc3d7f0e93c3ae126a947a363dd33 (patch)
treea6cc67e053b9cd949a8b8935ed3954209335674e /polly/lib/CodeGen/LoopGenerators.cpp
parent30076b024455c0e6a34d4edc007d8fa48903fbbe (diff)
downloadbcm5719-llvm-5103ba7c919dc3d7f0e93c3ae126a947a363dd33.tar.gz
bcm5719-llvm-5103ba7c919dc3d7f0e93c3ae126a947a363dd33.zip
Introduce PollyIRBuilder
PollyIRBuilder is currently just a typedef to IRBuilder<>. Consequently, this change should not affect behavior. In subsequent patches we will extend its functionality to emit loop.parallel metadata. llvm-svn: 202853
Diffstat (limited to 'polly/lib/CodeGen/LoopGenerators.cpp')
-rw-r--r--polly/lib/CodeGen/LoopGenerators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp
index c1aa9f36fd6..3f9e1b0f535 100644
--- a/polly/lib/CodeGen/LoopGenerators.cpp
+++ b/polly/lib/CodeGen/LoopGenerators.cpp
@@ -47,7 +47,7 @@ using namespace polly;
// TODO: We currently always create the GuardBB. If we can prove the loop is
// always executed at least once, we can get rid of this branch.
Value *polly::createLoop(Value *LB, Value *UB, Value *Stride,
- IRBuilder<> &Builder, Pass *P, BasicBlock *&ExitBB,
+ PollyIRBuilder &Builder, Pass *P, BasicBlock *&ExitBB,
ICmpInst::Predicate Predicate) {
DominatorTree &DT = P->getAnalysis<DominatorTreeWrapperPass>().getDomTree();
OpenPOWER on IntegriCloud