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-27 12:55:46 +00:00
2017-08-02 21:43:08 +00:00
2017-07-01 03:24:09 +00:00
2016-12-03 00:41:43 +00:00
2017-08-27 12:55:46 +00:00
2017-12-16 05:10:20 +00:00
2015-02-27 19:29:02 +00:00
2016-10-06 23:57:25 +00:00
2014-09-10 17:58:16 +00:00
2016-10-06 23:57:25 +00:00
2016-07-27 23:53:58 +00:00
2016-10-06 23:57:25 +00:00
2015-02-27 19:29:02 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-12-16 19:12:02 +00:00
2016-10-06 23:57:25 +00:00
2017-03-07 18:47:30 +00:00
2016-11-11 22:51:46 +00:00
2016-10-06 23:57:25 +00:00
2017-08-30 18:06:51 +00:00
2016-10-19 19:22:02 +00:00
2017-07-28 20:21:02 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-12-19 17:13:37 +00:00
2017-10-26 21:20:52 +00:00
2017-08-20 10:32:41 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-08-08 18:07:44 +00:00
2017-10-05 12:41:49 +00:00
2016-10-06 23:57:25 +00:00
2017-10-28 18:43:07 +00:00
2016-10-06 23:57:25 +00:00
2015-02-27 21:17:42 +00:00
2016-10-06 23:57:25 +00:00
2016-07-06 14:26:59 +00:00
2016-09-26 17:08:37 +00:00
2016-10-06 23:57:25 +00:00
2015-02-27 21:17:42 +00:00
2016-10-06 23:57:25 +00:00
2016-10-07 15:20:13 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-11-20 12:01:47 +00:00
2016-10-06 23:57:25 +00:00
2017-09-13 06:28:37 +00:00
2017-08-27 12:55:46 +00:00
2016-10-06 23:57:25 +00:00
2017-07-31 13:21:42 +00:00
2015-02-27 21:17:42 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-07-19 05:16:39 +00:00
2017-07-19 05:16:39 +00:00
2013-10-02 20:29:00 +00:00
2017-11-08 21:59:51 +00:00
2016-10-31 13:17:31 +00:00
2016-10-31 13:17:31 +00:00
2016-10-31 13:17:31 +00:00
2017-12-06 22:42:24 +00:00
2017-07-19 05:16:39 +00:00
2017-10-05 15:45:14 +00:00
2016-10-06 23:57:25 +00:00
2017-07-19 05:16:39 +00:00
2017-01-26 10:41:09 +00:00
2017-12-20 13:28:38 +00:00
2017-04-10 20:18:21 +00:00
2015-02-27 19:29:02 +00:00
2017-04-07 14:15:34 +00:00
2015-02-27 21:17:42 +00:00
2017-09-14 07:40:02 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-07-19 05:16:39 +00:00
2017-09-25 20:30:53 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-08-20 10:32:41 +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-11-11 22:51:46 +00:00
2016-03-17 20:32:37 +00:00
2016-03-17 20:32:37 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2015-08-11 15:56:31 +00:00
2017-01-19 00:42:28 +00:00
2017-08-28 22:00:27 +00:00
2016-03-26 23:32:57 +00:00
2016-10-06 23:57:25 +00:00
2016-08-12 22:47:13 +00:00
2017-12-10 11:13:35 +00:00
2017-02-12 09:32:53 +00:00
2017-01-19 00:42:28 +00:00
2017-05-13 13:25:57 +00:00
2017-07-12 19:53:55 +00:00
2017-11-05 16:53:15 +00:00
2018-01-15 10:56:07 +00:00
2016-10-06 23:57:25 +00:00
2016-06-29 10:01:06 +00:00
2016-10-06 23:57:25 +00:00
2017-09-29 18:07:39 +00:00
2017-01-18 19:02:52 +00:00
2016-09-21 16:50:24 +00:00
2017-02-14 16:28:32 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2017-07-19 05:16:39 +00:00
2017-07-19 05:16:39 +00:00
2015-08-27 20:43:29 +00:00
2015-02-27 21:17:42 +00:00
2016-10-06 23:57:25 +00:00
2016-09-26 17:08:37 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-06-30 08:02:35 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-06-19 18:48:58 +00:00
2015-02-27 19:29:02 +00:00
2016-10-06 23:57:25 +00:00
2017-03-23 20:02:23 +00:00
2015-05-06 17:12:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2015-02-27 21:17:42 +00:00
2017-12-14 07:56:31 +00:00
2017-07-25 10:35:16 +00:00
2016-10-06 23:57:25 +00:00
2017-04-07 14:15:34 +00:00
2017-08-20 10:32:41 +00:00
2017-11-05 16:53:15 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00