[PATCH] D41767: [SLP] Fix PR35777: Incorrect handling of aggregate values.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 5 08:43:18 PST 2018
ABataev created this revision.
ABataev added reviewers: mkuper, hfinkel, RKSimon, spatel.
Fixes the bug with incorrect handling of InsertValue|InsertElement
instrucions in SLP vectorizer. Currently, we may use incorrect
ExtractElement instructions as the operands of the original
InsertValue|InsertElement instructions.
https://reviews.llvm.org/D41767
Files:
include/llvm/Transforms/Vectorize/SLPVectorizer.h
lib/Transforms/Vectorize/SLPVectorizer.cpp
test/Transforms/SLPVectorizer/X86/PR35777.ll
test/Transforms/SLPVectorizer/X86/insert-element-build-vector.ll
test/Transforms/SLPVectorizer/X86/insertvalue.ll
test/Transforms/SLPVectorizer/X86/value-bug.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41767.128754.patch
Type: text/x-patch
Size: 22401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180105/019a3eae/attachment.bin>
More information about the llvm-commits
mailing list