Matthew Simpson
99a1cd6e48
[LV] Don't mark pointers used by scalarized memory accesses uniform
...
Previously, all consecutive pointers were marked uniform after vectorization.
However, if a consecutive pointer is used by a memory access that is eventually
scalarized, the pointer won't remain uniform after all. An example is
predicated stores. Even though a predicated store may be consecutive, it will
still be scalarized, making it's pointer operand non-uniform.
This patch updates the logic in collectLoopUniforms to consider the cases where
a memory access may be scalarized. If a memory access may be scalarized, its
pointer operand is not marked uniform. The determination of whether a given
memory instruction will be scalarized or not has been moved into a common
function that is used by the vectorizer, cost model, and legality analysis.
Differential Revision: https://reviews.llvm.org/D24271
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280979 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-08 19:11:07 +00:00
..
2016-08-29 20:14:04 +00:00
2016-04-18 12:06:47 +00:00
2016-07-19 00:50:43 +00:00
2016-08-29 20:14:04 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 21:17:42 +00:00
2014-09-10 17:58:16 +00:00
2015-03-13 18:20:45 +00:00
2016-07-27 23:53:58 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-06-01 17:16:46 +00:00
2016-07-09 22:56:50 +00:00
2016-09-08 19:11:07 +00:00
2016-04-15 15:57:41 +00:00
2015-02-27 21:17:42 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-07-20 21:44:26 +00:00
2016-07-20 04:03:43 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-07-24 07:24:54 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-06-01 17:16:46 +00:00
2016-07-06 14:26:59 +00:00
2016-07-19 00:50:43 +00:00
2016-04-29 01:27:40 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2014-09-10 17:58:16 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-05-13 15:10:46 +00:00
2016-08-30 20:22:21 +00:00
2016-08-24 11:37:57 +00:00
2016-08-30 20:22:21 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-07-21 21:20:15 +00:00
2016-05-10 07:33:35 +00:00
2016-08-02 15:25:16 +00:00
2013-10-02 20:29:00 +00:00
2016-08-06 08:16:00 +00:00
2016-09-02 16:19:22 +00:00
2015-02-27 21:17:42 +00:00
2016-07-12 21:24:06 +00:00
2014-09-10 17:58:16 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 21:17:42 +00:00
2015-08-25 16:43:47 +00:00
2015-09-21 19:41:19 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-06-07 15:52:35 +00:00
2016-04-15 15:57:41 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-06-15 00:35:26 +00:00
2016-04-15 15:57:41 +00:00
2016-03-17 20:32:37 +00:00
2016-03-17 20:32:37 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 21:17:42 +00:00
2015-08-20 22:27:38 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 21:17:42 +00:00
2015-08-11 15:56:31 +00:00
2016-03-26 23:32:57 +00:00
2016-04-29 03:31:25 +00:00
2016-08-12 22:47:13 +00:00
2015-03-13 18:20:45 +00:00
2016-06-29 10:01:06 +00:00
2015-02-27 21:17:42 +00:00
2015-09-02 10:15:39 +00:00
2016-07-19 00:50:43 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-08-28 08:53:53 +00:00
2016-04-15 15:57:41 +00:00
2015-08-27 20:43:29 +00:00
2015-02-27 21:17:42 +00:00
2016-02-08 17:02:45 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-08-28 08:53:53 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 21:17:42 +00:00
2015-05-06 17:12:25 +00:00
2016-05-09 23:03:44 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-03-09 06:14:18 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-06-05 10:52:40 +00:00