summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2011-07-05 19:13:31 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2011-07-05 19:13:31 +0000
commit9611623d024dd54f64712567dd0be2cd7855d126 (patch)
tree4931863a1f2ea92794a7c9ec10673120123fb26f
parent5a0f0fba30f08f358203cf11d3bb0f80e325102c (diff)
downloadbcm5719-llvm-9611623d024dd54f64712567dd0be2cd7855d126.tar.gz
bcm5719-llvm-9611623d024dd54f64712567dd0be2cd7855d126.zip
CodeGen: Adapt to change of PHI operand storage
Commit 133435 "Change how PHINodes store their operands" broke Polly. Fix this breakage by adapting to the changes in the commit. llvm-svn: 134434
-rw-r--r--polly/lib/CodeGeneration.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/polly/lib/CodeGeneration.cpp b/polly/lib/CodeGeneration.cpp
index d063b793769..606f746092e 100644
--- a/polly/lib/CodeGeneration.cpp
+++ b/polly/lib/CodeGeneration.cpp
@@ -727,9 +727,6 @@ public:
PN = Statement->getInductionVariableForDimension(Dimension);
const Value *V = PN;
- if (PN->getNumOperands() == 2)
- V = *(PN->use_begin());
-
if (VectorVMap)
(*VectorVMap)[vectorDim][V] = RHS;
OpenPOWER on IntegriCloud