[PATCH] D29641: [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!")

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 07:27:03 PST 2017


ABataev updated this revision to Diff 88731.
ABataev added a comment.

Reworked SLP vectorizer to not replace instructions to be deleted with UndefValue.


https://reviews.llvm.org/D29641

Files:
  include/llvm/Transforms/Vectorize/SLPVectorizer.h
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/crash-SCEV.ll
  test/Transforms/SLPVectorizer/X86/horizontal-list.ll
  test/Transforms/SLPVectorizer/X86/reduction_loads.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29641.88731.patch
Type: text/x-patch
Size: 71577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170216/d2d6a661/attachment.bin>


More information about the llvm-commits mailing list