[PATCH] D12480: [LV] Delay predication of stores until near the end of vector code generation
James Molloy via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 3 00:56:02 PDT 2015
jmolloy updated this revision to Diff 33907.
jmolloy added a comment.
Hi Michael,
[reuploaded with full context]
Yes I did, although it was just a test change - there were no code changes. The major test change is the test lines starting "CHECK-VEC-IC:" - these check that when adding -instcombine (which we do in the normal pipeline), the extracts are moved into the predicate blocks.
And this does in fact happen. There are a couple of extracts outside the blocks, but they're used outside too (for example, [[v3]] is used in the branch).
Repository:
rL LLVM
http://reviews.llvm.org/D12480
Files:
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/if-pred-stores.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12480.33907.patch
Type: text/x-patch
Size: 10534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150903/e109d0c4/attachment.bin>
More information about the llvm-commits
mailing list