Sanjoy Das
c1a2977fb2
Re-apply r251050 with a for PR25421
...
The bug: I missed adding break statements in the switch / case.
Original commit message:
[SCEV] Teach SCEV some axioms about non-wrapping arithmetic
Summary:
- A s< (A + C)<nsw> if C > 0
- A s<= (A + C)<nsw> if C >= 0
- (A + C)<nsw> s< A if C < 0
- (A + C)<nsw> s<= A if C <= 0
Right now `C` needs to be a constant, but we can later generalize it to
be a non-constant if needed.
Reviewers: atrick, hfinkel, reames, nlewycky
Subscribers: sanjoy, llvm-commits
Differential Revision: http://reviews.llvm.org/D13686
llvm-svn: 252236
2015-11-05 23:45:38 +00:00
..
2015-02-27 19:29:02 +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
2015-03-13 18:20:45 +00:00
2015-02-27 21:17:42 +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-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +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
2015-03-13 18:20:45 +00:00
2015-03-27 22:04:28 +00:00
2015-02-27 21:17:42 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 19:29:02 +00:00
2015-08-19 01:51:51 +00:00
2015-02-27 19:29:02 +00:00
2015-11-03 16:27:04 +00:00
2015-06-17 20:52:32 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 19:29:02 +00:00
2015-11-05 23:45:38 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2015-05-28 21:49:07 +00:00
2015-05-28 21:49:07 +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
2015-10-16 01:00:47 +00:00
2015-02-27 21:17:42 +00:00
2015-05-28 21:49:07 +00:00
2015-03-04 18:43:29 +00:00
2015-03-02 21:41:07 +00:00
2015-03-04 18:43:29 +00:00
2015-02-27 21:17:42 +00:00
2015-03-02 21:41:07 +00:00
2015-04-14 03:20:32 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-03-13 18:20:45 +00:00
2015-07-27 21:42:49 +00:00
2015-07-09 18:46:12 +00:00
2015-02-27 19:29:02 +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
2015-02-27 21:17:42 +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
2015-09-15 23:45:39 +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
2015-03-04 18:43:29 +00:00
2015-03-04 18:43:29 +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-04-16 23:24:18 +00:00
2015-01-15 01:46:09 +00:00
2015-07-28 03:50:09 +00:00
2015-04-16 23:24:18 +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-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-09-20 01:52:18 +00:00
2015-02-27 21:17:42 +00:00