[PATCH] D32245: Add an IR expansion pass for the experimental reductions
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 14:34:04 PDT 2017
aemerson created this revision.
Herald added a subscriber: mgorny.
This is an IR expansion pass intended to allow targets to opt-in to using the experimental reduction intrinsics introduced in https://reviews.llvm.org/D30086.
Its purpose is to see the effects of switching to the intrinsics in the IR, so this pass should be added to a target's pass config late, just before codegen. The expansion should result in the same shufflevector sequence form that targets currently expect reductions to be in.
Repository:
rL LLVM
https://reviews.llvm.org/D32245
Files:
include/llvm/CodeGen/ExpandReductions.h
include/llvm/CodeGen/Passes.h
include/llvm/InitializePasses.h
include/llvm/Transforms/Utils/LoopUtils.h
lib/CodeGen/CMakeLists.txt
lib/CodeGen/ExpandReductions.cpp
lib/Transforms/Utils/LoopUtils.cpp
test/CodeGen/Generic/expand-experimental-reductions.ll
tools/llc/llc.cpp
tools/opt/opt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32245.95820.patch
Type: text/x-patch
Size: 18019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170419/56f85840/attachment.bin>
More information about the llvm-commits
mailing list