commit | 4e7a50685ae18a24087f6f2a51c604e71fab69e2 | [log] [tgz] |
---|---|---|
author | Matt Wala <wala@google.com> | Thu Jul 30 16:27:51 2015 -0700 |
committer | Matt Wala <wala@google.com> | Mon Aug 17 14:52:29 2015 -0700 |
tree | e55d89f941e3e42639101c7d38f659824374a07a | |
parent | 6aa6872593d89f6390a366544c20d933c8513ec4 [diff] |
Expand reduce-style kernels. Bug: 22631253 Rename the RSForEachExpand pass / source file to RSKernelExpand. In addition to already being responsible for expanding foreach-style kernels, RSKernelExpand now expands reduce-style kernels from define foo @func(foo %a, foo %b) into define void @func.expand(i8* %inBuf, i8* %outBuf, i32 len) The expanded function reduces a sub-range of its input. Change-Id: I518fa9367b57111a2f2a1b23903ff870c421beeb