[llvm-branch-commits] [llvm-branch] r223531 - Merging r221009:

Michael Zolotukhin mzolotukhin at apple.com
Fri Dec 5 14:17:26 PST 2014


Author: mzolotukhin
Date: Fri Dec  5 16:17:26 2014
New Revision: 223531

URL: http://llvm.org/viewvc/llvm-project?rev=223531&view=rev
Log:
Merging r221009:

Correctly update dom-tree after loop vectorizer.


Added:
    llvm/branches/release_35/test/Transforms/LoopVectorize/incorrect-dom-info.ll
      - copied unchanged from r221009, llvm/trunk/test/Transforms/LoopVectorize/incorrect-dom-info.ll
Modified:
    llvm/branches/release_35/   (props changed)
    llvm/branches/release_35/lib/Transforms/Vectorize/LoopVectorize.cpp

Propchange: llvm/branches/release_35/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Dec  5 16:17:26 2014
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,213653,213665,213726,213749,213773,213793,213798-213799,213815,213847,213880,213883-213884,213894-213896,213899,213915,213966,213999,214060,214129,214180,214287,214331,214423,214429,214519,214670,214674,214679,215685,215711,215806,216064,216262,216531,216920,217257,218745,221408,221453,223163
+/llvm/trunk:155241,213653,213665,213726,213749,213773,213793,213798-213799,213815,213847,213880,213883-213884,213894-213896,213899,213915,213966,213999,214060,214129,214180,214287,214331,214423,214429,214519,214670,214674,214679,215685,215711,215806,216064,216262,216531,216920,217257,218745,221009,221408,221453,223163

Modified: llvm/branches/release_35/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_35/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=223531&r1=223530&r2=223531&view=diff
==============================================================================
--- llvm/branches/release_35/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/branches/release_35/lib/Transforms/Vectorize/LoopVectorize.cpp Fri Dec  5 16:17:26 2014
@@ -3357,7 +3357,7 @@ void InnerLoopVectorizer::updateAnalysis
   DT->addNewBlock(LoopMiddleBlock, LoopBypassBlocks[1]);
   DT->addNewBlock(LoopScalarPreHeader, LoopBypassBlocks[0]);
   DT->changeImmediateDominator(LoopScalarBody, LoopScalarPreHeader);
-  DT->changeImmediateDominator(LoopExitBlock, LoopMiddleBlock);
+  DT->changeImmediateDominator(LoopExitBlock, LoopBypassBlocks[0]);
 
   DEBUG(DT->verifyDomTree());
 }





More information about the llvm-branch-commits mailing list