[llvm-commits] [polly] r170744 - /polly/branches/release_32/lib/CodeGen/CodeGeneration.cpp
Tobias Grosser
grosser at fim.uni-passau.de
Thu Dec 20 12:18:25 PST 2012
Author: grosser
Date: Thu Dec 20 14:18:25 2012
New Revision: 170744
URL: http://llvm.org/viewvc/llvm-project?rev=170744&view=rev
Log:
Add an additional input argument according to chanages of function polly::createLoop.
Contributed-by: Yabin Hu <yabin.hwu at gmail.com>
Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168964
Modified:
polly/branches/release_32/lib/CodeGen/CodeGeneration.cpp
Modified: polly/branches/release_32/lib/CodeGen/CodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/lib/CodeGen/CodeGeneration.cpp?rev=170744&r1=170743&r2=170744&view=diff
==============================================================================
--- polly/branches/release_32/lib/CodeGen/CodeGeneration.cpp (original)
+++ polly/branches/release_32/lib/CodeGen/CodeGeneration.cpp Thu Dec 20 14:18:25 2012
@@ -707,7 +707,8 @@
LowerBound = ExpGen.codegen(InnerFor->LB, IntPtrTy);
UpperBound = ExpGen.codegen(InnerFor->UB, IntPtrTy);
Stride = Builder.getInt(APInt_from_MPZ(InnerFor->stride));
- IV = createLoop(LowerBound, UpperBound, Stride, Builder, P, AfterBB);
+ IV = createLoop(LowerBound, UpperBound, Stride, Builder, P, AfterBB,
+ CmpInst::ICMP_SLE);
const Value *OldIV_ = Statement->getInductionVariableForDimension(2);
Value *OldIV = const_cast<Value *>(OldIV_);
VMap.insert(std::make_pair<Value*, Value*>(OldIV, IV));
More information about the llvm-commits
mailing list