Alexey Bataev
370d1329a7
[SLP] Fix vectorization for tree with trunc to minimum required bit width.
...
Summary:
If the vectorized tree has truncate to minimum required bit width and
the vector type of the cast operation after the truncation is the same
as the vector type of the cast operands, count cost of the vector cast
operation as 0, because this cast will be later removed.
Also, if the vectorization tree root operations are integer cast operations, do not consider them as candidates for truncation. It will just create extra number of the same vector/scalar operations, which will be removed by instcombiner.
Reviewers: RKSimon, spatel, mkuper, hfinkel, mssimpso
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D41948
llvm-svn: 322946
2018-01-19 14:40:13 +00:00
..
2017-08-22 16:30:21 +00:00
2018-01-06 00:37:01 +00:00
2017-08-16 16:09:22 +00:00
2017-10-25 13:40:08 +00:00
2018-01-16 22:13:15 +00:00
2018-01-07 11:22:25 +00:00
2018-01-09 04:37:06 +00:00
2017-11-09 20:01:31 +00:00
2017-08-30 18:06:51 +00:00
2018-01-08 17:38:09 +00:00
2017-08-25 02:25:10 +00:00
2018-01-08 16:34:06 +00:00
2017-08-29 22:29:15 +00:00
2017-11-08 21:59:51 +00:00
2017-07-28 20:21:02 +00:00
2017-11-08 21:59:51 +00:00
2017-09-09 14:10:59 +00:00
2018-01-09 15:08:37 +00:00
2017-11-28 18:44:26 +00:00
2018-01-06 16:16:04 +00:00
2017-11-08 21:59:51 +00:00
2018-01-18 02:08:23 +00:00
2017-08-30 18:06:51 +00:00
2017-08-30 18:06:51 +00:00
2018-01-17 20:00:15 +00:00
2018-01-03 22:28:26 +00:00
2018-01-04 07:47:24 +00:00
2017-11-08 21:59:51 +00:00
2017-12-15 05:24:42 +00:00
2017-10-30 21:19:41 +00:00
2018-01-10 13:01:18 +00:00
2018-01-19 10:05:15 +00:00
2018-01-18 23:11:24 +00:00
2017-10-02 07:35:25 +00:00
2018-01-09 21:58:46 +00:00
2018-01-12 10:00:26 +00:00
2018-01-12 21:06:48 +00:00
2017-12-15 20:33:24 +00:00
2017-11-08 21:59:51 +00:00
2018-01-12 07:24:43 +00:00
2017-11-08 21:59:51 +00:00
2017-10-21 13:58:37 +00:00
2017-12-04 15:11:48 +00:00
2017-07-28 20:21:02 +00:00
2018-01-09 23:54:35 +00:00
2018-01-02 16:25:50 +00:00
2018-01-09 06:47:14 +00:00
2017-12-26 23:31:21 +00:00
2017-08-29 21:45:11 +00:00
2018-01-18 07:44:09 +00:00
2017-08-23 15:43:28 +00:00
2018-01-10 00:00:51 +00:00
2017-12-08 21:57:28 +00:00
2017-12-28 05:10:33 +00:00
2017-11-28 09:32:25 +00:00
2017-10-10 08:00:45 +00:00
2017-08-01 05:14:45 +00:00
2018-01-09 20:12:42 +00:00
2017-10-24 00:09:10 +00:00
2017-11-27 21:15:43 +00:00
2017-12-20 19:26:37 +00:00
2017-12-14 22:05:20 +00:00
2017-07-27 16:49:39 +00:00
2017-12-12 19:18:02 +00:00
2018-01-17 13:29:54 +00:00
2017-08-23 20:31:27 +00:00
2018-01-09 20:09:23 +00:00
2017-07-28 20:21:02 +00:00
2017-11-22 03:04:55 +00:00
2017-11-17 19:58:36 +00:00
2017-12-31 16:47:16 +00:00
2018-01-11 21:28:57 +00:00
2018-01-19 14:40:13 +00:00
2017-11-28 11:32:31 +00:00
2018-01-16 06:23:05 +00:00
2017-08-30 18:06:51 +00:00
2018-01-04 17:23:24 +00:00
2018-01-09 19:39:35 +00:00
2017-11-28 22:39:38 +00:00
2018-01-18 02:08:23 +00:00
2017-09-13 01:43:25 +00:00
2018-01-18 02:08:23 +00:00