Sanjay Patel
43179a0fbb
[InstSimplify] fixed (?) to not mutate icmps
...
As Eli noted in the post-commit thread for r288833, the use of
swapOperands() may not be allowed in InstSimplify, so I'm
removing those calls here pending further review.
The swap mutates the icmp, and there doesn't appear to be precedent
for instruction mutation in InstSimplify.
I didn't actually have any tests for those cases, so I'm adding
a few here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288855 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-06 22:09:52 +00:00
..
2016-10-26 15:48:45 +00:00
2016-10-12 16:18:43 +00:00
2016-12-06 21:52:47 +00:00
2016-12-02 18:12:53 +00:00
2016-10-08 00:22:50 +00:00
2016-11-29 16:43:30 +00:00
2016-09-01 09:42:39 +00:00
2016-11-04 18:50:45 +00:00
2016-09-21 15:29:08 +00:00
2016-10-25 16:18:47 +00:00
2016-09-12 16:04:59 +00:00
2016-10-24 18:57:55 +00:00
2016-09-13 01:12:59 +00:00
2016-10-10 17:53:33 +00:00
2016-09-15 20:26:27 +00:00
2016-11-21 00:28:23 +00:00
2016-12-01 17:34:50 +00:00
2016-10-13 01:39:10 +00:00
2016-11-15 17:34:52 +00:00
2016-09-20 23:10:31 +00:00
2016-12-05 18:04:47 +00:00
2016-12-03 15:25:16 +00:00
2016-12-06 22:09:52 +00:00
2016-10-14 18:20:41 +00:00
2016-11-15 15:42:23 +00:00
2016-11-09 00:58:19 +00:00
2016-11-23 17:43:15 +00:00
2016-08-22 12:59:58 +00:00
2016-09-21 19:16:47 +00:00
2016-11-21 22:35:34 +00:00
2016-11-18 21:01:12 +00:00
2016-11-15 19:42:05 +00:00
2016-11-30 21:13:57 +00:00
2016-11-25 14:07:44 +00:00
2016-12-03 00:41:43 +00:00
2016-12-05 21:25:03 +00:00
2016-08-28 08:53:53 +00:00
2016-09-02 22:03:40 +00:00
2016-11-11 21:39:26 +00:00
2016-11-07 17:47:28 +00:00
2016-09-17 20:40:16 +00:00
2016-09-13 23:43:11 +00:00
2016-12-02 19:10:29 +00:00
2016-10-03 19:35:30 +00:00
2016-11-22 20:23:04 +00:00
2016-10-07 20:34:00 +00:00
2016-10-14 17:56:00 +00:00
2016-11-22 22:50:01 +00:00
2016-11-23 01:42:39 +00:00
2016-11-25 21:12:39 +00:00
2016-12-06 13:29:55 +00:00
2016-10-28 20:00:33 +00:00
2016-12-05 18:04:47 +00:00
2016-10-17 20:05:35 +00:00
2016-11-29 21:49:02 +00:00
2016-11-07 21:01:49 +00:00
2016-12-05 18:04:47 +00:00