dim 71d9b5aafb Pull in r322473 from upstream llvm trunk (by Andrei Elovikov):
[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

This should fix "Vector value already set for part" assertions when
building the net/iodine and sysutils/daa2iso ports.

Reported by:	jbeich
PR:		224867,224868
2018-01-15 18:20:15 +00:00
..
2017-11-02 20:08:00 +00:00
2017-09-17 19:14:38 +00:00
2017-12-10 09:17:21 +00:00
2017-12-12 17:34:35 +00:00
2017-10-01 00:40:23 +00:00
2017-07-03 19:49:25 +00:00
2017-08-03 15:47:42 +00:00
2017-11-29 00:46:36 +00:00
2017-12-06 02:21:11 +00:00
2017-10-28 18:54:45 +00:00
2017-09-10 01:25:15 +00:00