[llvm-commits] [polly] r134434 - /polly/trunk/lib/CodeGeneration.cpp

Tobias Grosser grosser at fim.uni-passau.de
Tue Jul 5 12:13:32 PDT 2011


Author: grosser
Date: Tue Jul  5 14:13:31 2011
New Revision: 134434

URL: http://llvm.org/viewvc/llvm-project?rev=134434&view=rev
Log:
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.

Modified:
    polly/trunk/lib/CodeGeneration.cpp

Modified: polly/trunk/lib/CodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGeneration.cpp?rev=134434&r1=134433&r2=134434&view=diff
==============================================================================
--- polly/trunk/lib/CodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGeneration.cpp Tue Jul  5 14:13:31 2011
@@ -727,9 +727,6 @@
     PN = Statement->getInductionVariableForDimension(Dimension);
     const Value *V = PN;
 
-    if (PN->getNumOperands() == 2)
-      V = *(PN->use_begin());
-
     if (VectorVMap)
       (*VectorVMap)[vectorDim][V] = RHS;
 





More information about the llvm-commits mailing list