Andrei Elovikov
9bfe6e5ae2
[LV] Don't call recordVectorLoopValueForInductionCast for newly-created IV from a trunc.
...
Summary:
This method is supposed to be called for IVs that have casts in their use-def
chains that are completely ignored after vectorization under PSE. However, for
truncates of such IVs the same InductionDescriptor is used during
creation/widening of both original IV based on PHINode and new IV based on
TruncInst.
This leads to unintended second call to recordVectorLoopValueForInductionCast
with a VectorLoopVal set to the newly created IV for a trunc and causes an
assert due to attempt to store new information for already existing entry in the
map. This is wrong and should not be done.
Fixes PR35773.
Reviewers: dorit, Ayal, mssimpso
Reviewed By: dorit
Subscribers: RKSimon, dim, dcaballe, hsaito, llvm-commits, hiraditya
Differential Revision: https://reviews.llvm.org/D41913
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322473 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-15 10:56:07 +00:00
..
2017-08-22 16:30:21 +00:00
2017-04-11 19:07:30 +00:00
2016-06-15 06:18:01 +00:00
2018-01-06 00:37:01 +00:00
2017-04-10 20:18:21 +00:00
2017-08-16 16:09:22 +00:00
2015-12-03 19:41:25 +00:00
2017-10-25 13:40:08 +00:00
2017-12-23 20:02:26 +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
2016-05-05 02:37:32 +00:00
2017-11-28 18:44:26 +00:00
2018-01-06 16:16:04 +00:00
2016-06-24 23:32:02 +00:00
2015-12-27 08:13:45 +00:00
2017-11-08 21:59:51 +00:00
2018-01-11 22:15:05 +00:00
2017-08-30 18:06:51 +00:00
2017-05-25 07:15:09 +00:00
2017-08-30 18:06:51 +00:00
2017-11-08 21:59:51 +00:00
2017-03-07 22:18:48 +00:00
2016-05-21 02:24:44 +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
2017-06-18 03:10:26 +00:00
2018-01-10 13:01:18 +00:00
2018-01-11 15:33:21 +00:00
2017-01-24 19:55:36 +00:00
2017-05-08 23:18:46 +00:00
2018-01-13 15:44:44 +00:00
2017-10-02 07:35:25 +00:00
2016-06-05 19:08:54 +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
2016-07-20 01:55:27 +00:00
2017-12-15 20:33:24 +00:00
2017-11-08 21:59:51 +00:00
2016-08-22 12:59:58 +00:00
2018-01-12 07:24:43 +00:00
2017-01-13 00:16:23 +00:00
2017-11-08 21:59:51 +00:00
2017-10-21 13:58:37 +00:00
2017-01-27 01:32:26 +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
2016-05-10 18:28:10 +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-15 10:56:07 +00:00
2017-04-05 09:24:26 +00:00
2017-04-05 09:24:26 +00:00
2017-08-23 15:43:28 +00:00
2017-06-07 18:32:24 +00:00
2016-07-28 22:08:41 +00:00
2016-08-12 17:28:27 +00:00
2017-04-21 23:54:12 +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
2016-09-17 20:40:16 +00:00
2016-12-19 08:22:17 +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
2016-06-24 20:13:42 +00:00
2016-10-03 19:35:30 +00:00
2017-12-12 19:18:02 +00:00
2015-06-17 20:52:32 +00:00
2017-12-28 12:03:12 +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-03-21 21:39:51 +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-10 21:29:18 +00:00
2017-11-28 11:32:31 +00:00
2017-05-10 12:30:07 +00:00
2017-12-18 06:47:37 +00:00
2017-03-21 21:39:51 +00:00
2015-10-30 23:28:12 +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-11 22:15:05 +00:00
2017-09-13 01:43:25 +00:00
2018-01-11 22:15:05 +00:00