[PATCH] D57180: [LV] Avoid adding into interleaved group in presence of WAW dependency
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 24 12:29:54 PST 2019
anna created this revision.
anna added reviewers: hsaito, Ayal, mkazantsev, fhahn.
Herald added a subscriber: rkruppe.
Fix for miscompile when we ignore the store ordering when adding stores
into the interleaved store group.
Fix for PR40291.
Test case shows we now add stores into the interleaved store group only
if we prove there is no WAW dependency.
This is a cleaned up fix suggested by @hsaito.
Repository:
rL LLVM
https://reviews.llvm.org/D57180
Files:
lib/Analysis/VectorUtils.cpp
test/Transforms/LoopVectorize/interleaved-accesses-waw-dependency.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57180.183367.patch
Type: text/x-patch
Size: 7070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190124/730e94aa/attachment.bin>
More information about the llvm-commits
mailing list