Sanjoy Das
5c8bead46d
[IndVars] Don't break dominance in eliminateIdentitySCEV
...
Summary:
After r249211, `getSCEV(X) == getSCEV(Y)` does not guarantee that X and
Y are related in the dominator tree, even if X is an operand to Y (I've
included a toy example in comments, and a real example as a test case).
This commit changes `SimplifyIndVar` to require a `DominatorTree`. I
don't think this is a problem because `ScalarEvolution` requires it
anyway.
Fixes PR25051.
Depends on D13459.
Reviewers: atrick, hfinkel
Subscribers: joker.eph, llvm-commits, sanjoy
Differential Revision: http://reviews.llvm.org/D13460
llvm-svn: 249471
2015-10-06 21:44:49 +00:00
..
2015-06-17 20:52:32 +00:00
2015-08-28 20:26:49 +00:00
2015-08-28 20:26:49 +00:00
2015-09-22 17:22:58 +00:00
2015-09-09 17:55:00 +00:00
2015-06-17 20:52:32 +00:00
2015-09-16 05:34:32 +00:00
2015-06-17 20:52:32 +00:00
2015-09-15 18:32:14 +00:00
2015-09-11 03:22:04 +00:00
2015-08-28 18:04:20 +00:00
2015-09-18 13:01:48 +00:00
2015-09-23 15:41:09 +00:00
2015-09-23 11:38:44 +00:00
2015-08-27 01:32:33 +00:00
2015-07-13 14:18:22 +00:00
2015-08-31 19:44:38 +00:00
2015-08-28 20:26:49 +00:00
2015-09-11 03:22:04 +00:00
2015-09-28 19:02:11 +00:00
2015-10-02 22:12:22 +00:00
2015-10-06 21:44:49 +00:00
2015-09-29 00:30:19 +00:00
2015-10-06 20:20:45 +00:00
2015-10-06 20:20:45 +00:00
2015-09-11 03:22:04 +00:00
2015-06-17 20:52:32 +00:00
2015-08-31 18:31:48 +00:00
2015-06-17 20:52:32 +00:00
2015-09-21 22:27:59 +00:00
2015-08-21 23:19:57 +00:00
2015-08-28 20:26:49 +00:00
2015-09-28 17:03:23 +00:00
2015-08-28 20:26:49 +00:00
2015-08-28 20:26:49 +00:00
2015-10-06 05:39:59 +00:00
2015-10-02 19:21:52 +00:00
2015-09-29 05:03:32 +00:00
2015-09-21 19:41:19 +00:00
2015-09-11 03:22:04 +00:00
2015-06-17 20:52:32 +00:00
2015-08-11 18:12:26 +00:00
2015-08-28 23:32:00 +00:00
2015-08-13 17:40:04 +00:00
2015-10-05 17:26:36 +00:00
2015-09-11 03:22:04 +00:00
2015-10-01 03:51:44 +00:00
2015-09-09 17:55:00 +00:00
2015-06-17 20:52:32 +00:00
2015-09-15 01:42:48 +00:00
2015-06-27 07:52:53 +00:00
2015-08-10 19:01:27 +00:00
2015-06-17 20:52:32 +00:00
2015-09-09 23:40:12 +00:00
2015-09-30 19:55:43 +00:00
2015-10-01 00:26:56 +00:00
2015-08-28 20:26:49 +00:00
2015-08-28 20:26:49 +00:00
2015-09-11 03:22:04 +00:00
2015-08-14 02:02:05 +00:00
2015-09-27 01:47:46 +00:00
2015-09-30 21:05:43 +00:00
2015-09-12 09:09:14 +00:00
2015-08-13 18:48:49 +00:00
2015-08-28 20:26:49 +00:00
2015-08-31 21:10:35 +00:00
2015-08-10 19:01:27 +00:00