Renato Golin
cb19c8e3aa
[LV] Add a new reduction pattern match
...
Adding a new reduction pattern match for vectorizing code similar to TSVC s3111:
for (int i = 0; i < N; i++)
if (a[i] > b)
sum += a[i];
This patch adds support for fadd, fsub and fmull, as well as multiple
branches and different (but compatible) instructions (ex. add+sub) in
different branches.
I have forwarded to trunk, added fsub and fmul functionality and
additional tests, but the credit goes to Takahiro, who did most of the
actual work.
Differential Revision: https://reviews.llvm.org/D49168
Patch by Takahiro Miyoshi <takahiro.miyoshi@linaro.org >.
llvm-svn: 344172
2018-10-10 18:49:49 +00:00
..
2018-06-27 13:58:46 +00:00
2017-08-02 21:43:08 +00:00
2018-05-01 15:35:08 +00:00
2018-04-13 20:16:32 +00:00
2018-09-12 08:01:57 +00:00
2018-10-09 22:40:04 +00:00
2018-05-09 02:40:45 +00:00
2018-05-01 15:35:08 +00:00
2018-05-09 02:40:45 +00:00
2018-05-09 02:40:45 +00:00
2018-08-21 23:42:08 +00:00
2018-05-09 02:40:45 +00:00
2018-05-09 02:40:45 +00:00
2018-05-09 02:40:45 +00:00
2017-10-26 21:20:52 +00:00
2018-04-24 17:04:17 +00:00
2018-04-24 17:04:17 +00:00
2018-04-24 17:04:17 +00:00
2017-08-08 18:07:44 +00:00
2017-10-05 12:41:49 +00:00
2018-05-01 15:35:08 +00:00
2018-02-26 11:06:36 +00:00
2018-07-10 13:29:50 +00:00
2018-09-10 14:26:44 +00:00
2017-09-13 06:28:37 +00:00
2017-08-27 12:55:46 +00:00
2017-07-31 13:21:42 +00:00
2018-10-10 18:49:49 +00:00
2018-05-01 15:35:08 +00:00
2018-10-08 05:46:29 +00:00
2017-11-08 21:59:51 +00:00
2017-12-06 22:42:24 +00:00
2017-07-19 05:16:39 +00:00
2018-05-01 15:35:08 +00:00
2018-02-10 00:07:45 +00:00
2018-09-25 20:57:20 +00:00
2018-10-08 05:46:29 +00:00
2017-12-20 13:28:38 +00:00
2017-09-14 07:40:02 +00:00
2017-07-19 05:16:39 +00:00
2017-09-25 20:30:53 +00:00
2017-08-20 10:32:41 +00:00
2018-05-09 02:40:45 +00:00
2018-08-21 14:40:27 +00:00
2018-05-09 02:40:45 +00:00
2018-09-14 00:36:00 +00:00
2018-09-14 00:36:00 +00:00
2017-08-28 22:00:27 +00:00
2018-03-22 22:04:39 +00:00
2018-09-25 20:57:20 +00:00
2017-07-12 19:53:55 +00:00
2017-11-05 16:53:15 +00:00
2018-02-05 08:09:49 +00:00
2018-03-22 22:04:39 +00:00
2018-03-09 18:02:36 +00:00
2018-06-08 08:21:20 +00:00
2018-05-08 18:57:34 +00:00
2018-09-21 23:03:50 +00:00
2018-09-21 23:03:50 +00:00
2018-10-07 06:57:25 +00:00
2018-07-04 10:16:55 +00:00
2018-02-04 15:42:24 +00:00
2018-08-16 20:59:45 +00:00
2017-07-19 05:16:39 +00:00
2018-09-10 14:26:44 +00:00
2018-05-01 15:35:08 +00:00
2018-08-21 21:12:02 +00:00
2017-06-30 08:02:35 +00:00
2018-02-07 23:29:52 +00:00
2018-05-09 02:40:45 +00:00
2018-03-22 22:04:39 +00:00
2017-07-25 10:35:16 +00:00
2017-08-20 10:32:41 +00:00
2017-11-05 16:53:15 +00:00
2018-05-21 18:14:23 +00:00