[PATCH] D45366: Support generic expansion of ordered vector reduction (PR36732)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 6 09:56:06 PDT 2018


RKSimon updated this revision to Diff 141374.
RKSimon added a comment.

Cleaned up based on @ABataev's comments.

@aemerson explained on https://reviews.llvm.org/D45336 that the strict/ordered reductions should always use the accumulator argument, so I've removed the is null or undef logic.


Repository:
  rL LLVM

https://reviews.llvm.org/D45366

Files:
  include/llvm/Transforms/Utils/LoopUtils.h
  lib/CodeGen/ExpandReductions.cpp
  lib/Transforms/Utils/LoopUtils.cpp
  test/CodeGen/Generic/expand-experimental-reductions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45366.141374.patch
Type: text/x-patch
Size: 9111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180406/be3f7481/attachment.bin>


More information about the llvm-commits mailing list