[PATCH] D24275: [LV] Don't emit unused scalars for uniform instructions
Matthew Simpson via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 19 07:41:58 PDT 2016
mssimpso updated this revision to Diff 71819.
mssimpso added a comment.
Added assert in getScalarValue.
Now that we're more conservative about the values we mark uniform in collectLoopUniforms, this patch should be ready to go. I added an assert to be safe.
https://reviews.llvm.org/D24275
Files:
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/induction.ll
test/Transforms/LoopVectorize/reverse_induction.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24275.71819.patch
Type: text/x-patch
Size: 10387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160919/125d7028/attachment.bin>
More information about the llvm-commits
mailing list