[PATCH] D33055: [LoopOptimizer][Fix]PR32859, PR24738

Dinar Temirbulatov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 10:36:21 PDT 2017


dtemirbulatov created this revision.

The Loop vectorizer pass introduced undef value while it is fixing output of LCSSA form. 
Here it is:

before: %e.0.ph = phi i32 [ 0, %for.inc.2.i ]
after:   %e.0.ph = phi i32 [ 0, %for.inc.2.i ], [ undef, %middle.block ]

and after this change we have:

%e.0.ph = phi i32 [ 0, %for.inc.2.i ]
%e.0.ph = phi i32 [ 0, %for.inc.2.i ], [ 0, %middle.block ]

Ok to commit?


https://reviews.llvm.org/D33055

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/pr32859.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33055.98487.patch
Type: text/x-patch
Size: 7875 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170510/efc968f0/attachment.bin>


More information about the llvm-commits mailing list