[PATCH] D49168: [LV] Add a new reduction pattern match

Takahiro Miyoshi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 6 19:22:00 PDT 2018


takahiro.miyoshi updated this revision to Diff 159443.
takahiro.miyoshi removed rL LLVM as the repository for this revision.
takahiro.miyoshi added a comment.

I modified my patch to use RK_FloatAdd instead of adding a new recurrence descriptor.
And, input IRs of this target loop is already converted into a select instruction, so I don't extend If-convert functionality.


https://reviews.llvm.org/D49168

Files:
  include/llvm/Transforms/Utils/LoopUtils.h
  lib/Transforms/Utils/LoopUtils.cpp
  test/Transforms/LoopVectorize/if-reduction.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49168.159443.patch
Type: text/x-patch
Size: 23278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180807/f91d8e3a/attachment.bin>


More information about the llvm-commits mailing list