Philip Reames
0fed3ad4cb
[IndVars] Fix a bug introduced in r317012
...
Turns out we can have comparisons which are indirect users of the induction variable that we can make invariant. In this case, there is no loop invariant value contributing and we'd fail an assert.
The test case was found by a java fuzzer and reduced. It's a real cornercase. You have to have a static loop which we've already proven only executes once, but haven't broken the backedge on, and an inner phi whose result can be constant folded by SCEV using exit count reasoning but not proven by isKnownPredicate. To my knowledge, only the fuzzer has hit this case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319583 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-01 20:57:19 +00:00
..
2017-03-21 21:39:51 +00:00
2015-02-27 19:29:02 +00:00
2012-12-30 01:28:40 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2016-08-03 20:53:23 +00:00
2015-03-13 18:20:45 +00:00
2016-08-03 20:53:23 +00:00
2015-02-27 21:17:42 +00:00
2016-08-03 20:53:23 +00:00
2016-08-03 20:53:23 +00:00
2015-02-27 21:17:42 +00:00
2016-08-03 20:53:23 +00:00
2016-08-03 20:53:23 +00:00
2015-03-04 18:43:29 +00:00
2015-01-06 19:02:56 +00:00
2015-02-27 21:17:42 +00:00
2017-05-08 17:37:29 +00:00
2017-02-17 17:36:52 +00:00
2015-02-27 21:17:42 +00:00
2013-07-14 01:42:54 +00:00
2015-04-16 23:24:18 +00:00
2013-07-14 01:42:54 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 19:29:02 +00:00
2016-08-03 20:53:23 +00:00
2015-02-27 21:17:42 +00:00
2016-06-05 18:01:19 +00:00
2015-08-19 01:51:51 +00:00
2017-07-08 17:17:30 +00:00
2015-02-27 19:29:02 +00:00
2015-11-03 16:27:04 +00:00
2017-09-29 16:32:12 +00:00
2015-06-17 20:52:32 +00:00
2015-02-27 19:29:02 +00:00
2013-07-14 01:42:54 +00:00
2016-08-11 21:31:40 +00:00
2017-07-08 17:17:30 +00:00
2016-08-03 20:53:23 +00:00
2017-09-25 17:39:40 +00:00
2017-08-01 22:37:58 +00:00
2015-05-28 21:49:07 +00:00
2016-08-03 20:53:23 +00:00
2013-07-14 01:42:54 +00:00
2017-06-21 07:28:13 +00:00
2015-02-27 21:17:42 +00:00
2015-06-17 20:52:32 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-11-15 17:34:52 +00:00
2016-11-15 17:34:52 +00:00
2015-02-27 21:17:42 +00:00
2015-05-28 21:49:07 +00:00
2017-06-09 06:11:59 +00:00
2016-08-03 20:53:23 +00:00
2016-02-04 01:27:38 +00:00
2015-03-04 18:43:29 +00:00
2016-08-03 20:53:23 +00:00
2015-03-02 21:41:07 +00:00
2015-04-14 03:20:32 +00:00
2016-08-11 21:31:40 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 21:17:42 +00:00
2016-08-03 20:53:23 +00:00
2016-08-03 20:53:23 +00:00
2016-08-03 20:53:23 +00:00
2013-11-06 11:55:41 +00:00
2016-08-03 20:53:23 +00:00
2016-08-03 20:53:23 +00:00
2016-08-03 20:53:23 +00:00
2016-08-03 20:53:23 +00:00
2016-08-03 20:53:23 +00:00
2017-12-01 20:57:19 +00:00
2015-07-09 18:46:12 +00:00
2016-08-03 20:53:23 +00:00
2015-02-27 21:17:42 +00:00
2016-05-29 00:36:25 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-10-19 19:43:54 +00:00
2015-02-27 21:17:42 +00:00
2015-03-04 18:43:29 +00:00
2015-02-27 21:17:42 +00:00
2015-08-06 20:43:41 +00:00
2016-02-04 01:27:38 +00:00
2015-12-08 00:13:17 +00:00
2015-09-27 21:09:48 +00:00
2015-09-28 21:14:32 +00:00
2015-10-07 17:38:31 +00:00
2015-10-06 21:44:49 +00:00
2015-10-08 18:28:36 +00:00
2015-10-31 23:21:40 +00:00
2015-11-05 23:45:38 +00:00
2016-01-17 18:12:52 +00:00
2015-12-08 00:13:21 +00:00
2016-01-19 20:53:51 +00:00
2016-03-18 20:37:07 +00:00
2016-03-21 12:44:29 +00:00
2016-03-30 21:12:06 +00:00
2016-08-13 00:58:31 +00:00
2017-02-25 20:30:45 +00:00
2015-03-04 18:43:29 +00:00
2016-08-03 20:53:23 +00:00
2017-10-12 02:54:11 +00:00
2017-03-30 21:56:56 +00:00
2017-09-27 03:11:46 +00:00
2016-01-27 07:40:41 +00:00
2017-11-02 23:17:06 +00:00
2016-06-05 18:01:19 +00:00
2016-08-03 20:53:23 +00:00
2016-08-03 20:53:23 +00:00
2015-02-27 21:17:42 +00:00
2015-04-16 23:24:18 +00:00
2016-04-19 23:51:52 +00:00
2017-07-05 13:25:58 +00:00
2014-01-15 06:42:11 +00:00
2015-07-28 03:50:09 +00:00
2013-07-14 01:42:54 +00:00
2017-10-27 04:17:44 +00:00
2016-08-03 20:53:23 +00:00
2016-08-11 21:31:40 +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
2017-07-08 17:17:30 +00:00
2015-02-27 21:17:42 +00:00
2015-11-20 01:26:13 +00:00