Sanjay Patel
db811f479f
[InstCombine] move tests for select with bit-test of condition; NFC
...
These are all but 1 of the select-of-constant tests that appear
to be transformed within foldSelectICmpAnd() and the block above
it predicated by decomposeBitTestICmp().
As discussed in D45862 (and can be seen in several tests here),
we probably want to stop doing those transforms because they
can increase the instruction count without benefitting other
passes or codegen.
The 1 test not included here is a urem test where the bit hackery
allows us to remove a urem. To preserve killing that urem, we
should do some stronger known-bits analysis or pattern matching of
'urem x, (select-of-pow2-constants)'.
llvm-svn: 330768
2018-04-24 21:06:06 +00:00
..
2017-05-13 05:39:46 +00:00
2018-01-31 20:18:04 +00:00
2017-05-13 05:39:46 +00:00
2017-05-18 00:58:06 +00:00
2017-05-13 05:39:46 +00:00
2018-04-22 17:07:44 +00:00
2016-06-06 16:56:57 +00:00
2016-08-31 21:57:21 +00:00
2016-08-09 19:42:52 +00:00
2018-01-19 17:13:12 +00:00
2016-06-05 16:29:15 +00:00
2016-06-05 16:41:20 +00:00
2018-01-19 17:13:12 +00:00
2018-02-01 13:05:25 +00:00
2017-11-28 19:07:28 +00:00
2017-12-20 17:16:59 +00:00
2017-02-17 17:36:52 +00:00
2016-10-27 15:26:10 +00:00
2017-12-16 16:41:17 +00:00
2017-10-13 20:29:11 +00:00
2017-04-22 07:24:52 +00:00
2017-10-13 20:29:11 +00:00
2017-05-03 23:22:46 +00:00
2018-01-19 17:13:12 +00:00
2016-11-21 22:04:14 +00:00
2018-01-19 17:13:12 +00:00
2016-07-11 02:25:14 +00:00
2018-01-26 22:02:52 +00:00
2018-01-19 17:13:12 +00:00
2016-12-27 06:32:14 +00:00
2017-09-12 15:29:28 +00:00
2016-08-28 18:18:00 +00:00
2018-03-25 17:48:20 +00:00
2018-02-03 16:51:03 +00:00
2017-05-07 15:11:40 +00:00
2017-07-02 01:15:51 +00:00
2017-07-31 21:01:53 +00:00
2018-04-14 13:39:02 +00:00
2018-01-17 14:39:28 +00:00
2016-07-19 22:09:34 +00:00
2017-05-01 14:20:30 +00:00
2018-02-08 14:10:01 +00:00
2018-02-08 14:10:01 +00:00
2017-04-30 18:57:12 +00:00
2017-04-30 18:57:12 +00:00
2018-04-24 21:06:06 +00:00
2018-04-21 16:58:00 +00:00
2016-09-07 22:33:03 +00:00
2018-02-13 23:02:12 +00:00
2016-07-21 00:24:18 +00:00
2017-05-02 15:31:40 +00:00
2016-12-19 08:22:17 +00:00
2018-01-09 18:56:03 +00:00
2016-12-01 20:17:06 +00:00
2017-09-01 21:27:34 +00:00
2017-06-22 15:46:54 +00:00
2016-09-10 18:14:57 +00:00
2017-05-23 17:51:22 +00:00
2017-06-22 15:46:54 +00:00
2017-03-22 07:22:49 +00:00
2017-08-23 09:14:37 +00:00
2017-08-30 10:54:21 +00:00
2017-12-30 03:13:00 +00:00
2018-01-10 18:47:21 +00:00
2017-04-10 20:18:21 +00:00
2017-04-10 20:18:21 +00:00
2017-12-16 01:26:25 +00:00
2017-12-16 01:26:25 +00:00
2017-02-12 15:35:34 +00:00
2017-04-19 23:17:47 +00:00
2017-02-01 16:34:55 +00:00
2018-01-19 17:13:12 +00:00
2018-01-03 13:35:43 +00:00
2017-05-17 14:21:19 +00:00
2017-11-13 01:47:52 +00:00
2017-12-01 12:34:16 +00:00
2018-04-22 17:07:44 +00:00
2018-02-05 21:50:32 +00:00
2016-07-16 16:24:06 +00:00
2018-04-22 17:07:44 +00:00
2017-08-21 16:04:11 +00:00
2017-08-04 12:22:17 +00:00
2017-07-03 14:07:40 +00:00
2017-06-23 13:41:45 +00:00
2017-04-10 20:18:21 +00:00
2018-03-22 14:08:16 +00:00
2016-08-18 17:55:59 +00:00
2017-02-03 21:43:34 +00:00
2017-07-11 22:23:00 +00:00
2017-05-13 06:56:04 +00:00
2017-08-14 21:15:13 +00:00
2017-04-19 21:09:19 +00:00
2017-11-13 01:47:52 +00:00
2018-02-20 23:29:05 +00:00
2017-11-13 01:47:52 +00:00
2017-04-10 20:18:21 +00:00
2018-04-18 08:08:04 +00:00
2017-11-15 18:51:12 +00:00
2017-08-23 20:31:27 +00:00
2017-09-13 01:43:25 +00:00
2018-02-16 01:21:01 +00:00
2017-09-13 01:43:25 +00:00
2017-05-03 23:22:46 +00:00
2017-05-10 14:40:04 +00:00
2018-01-21 16:14:51 +00:00
2018-04-21 16:23:47 +00:00
2018-03-24 14:45:41 +00:00
2017-06-19 18:00:27 +00:00
2017-06-19 18:00:27 +00:00
2017-06-16 14:43:59 +00:00
2017-07-18 01:06:47 +00:00
2017-11-13 01:47:52 +00:00
2017-01-15 16:38:19 +00:00
2017-12-30 05:54:22 +00:00
2017-06-28 23:36:40 +00:00
2017-11-16 16:38:42 +00:00
2018-03-25 21:16:33 +00:00
2018-04-16 14:13:57 +00:00
2018-04-16 14:13:57 +00:00
2018-03-25 21:16:33 +00:00
2018-04-05 15:36:55 +00:00
2018-02-15 15:07:12 +00:00
2018-02-15 15:07:12 +00:00
2018-04-05 15:36:55 +00:00
2017-08-04 22:30:34 +00:00
2017-11-16 16:59:49 +00:00
2017-08-04 22:30:34 +00:00
2018-04-05 15:36:55 +00:00
2018-03-18 14:32:54 +00:00
2018-04-05 15:36:55 +00:00
2016-08-16 18:48:34 +00:00
2018-03-05 18:04:12 +00:00
2016-07-07 13:56:23 +00:00
2018-04-11 15:57:18 +00:00
2018-04-05 18:51:45 +00:00
2018-02-14 06:58:08 +00:00
2018-04-18 00:36:40 +00:00
2016-05-26 07:08:05 +00:00
2017-11-13 01:47:52 +00:00
2017-09-22 21:47:20 +00:00
2018-04-03 17:26:20 +00:00
2018-02-14 06:58:08 +00:00
2016-09-05 23:49:32 +00:00
2018-03-13 21:13:18 +00:00
2018-02-05 21:50:32 +00:00
2017-01-19 16:12:10 +00:00
2016-11-01 19:19:29 +00:00
2017-10-05 21:11:49 +00:00
2017-10-15 15:39:15 +00:00
2016-09-09 21:59:37 +00:00
2017-06-22 15:46:54 +00:00
2018-04-02 20:37:40 +00:00
2017-01-31 14:04:15 +00:00
2016-09-23 09:14:08 +00:00
2017-06-05 09:18:10 +00:00
2017-11-08 21:59:51 +00:00
2017-10-10 05:07:54 +00:00
2017-10-10 05:07:54 +00:00
2017-10-10 05:07:54 +00:00
2017-10-10 05:07:54 +00:00
2017-10-10 05:07:54 +00:00
2017-10-10 05:07:54 +00:00
2017-10-10 05:07:54 +00:00
2017-12-30 03:13:00 +00:00
2016-08-13 23:31:24 +00:00
2017-12-09 00:21:41 +00:00
2017-09-09 18:23:11 +00:00
2017-12-08 15:32:10 +00:00
2017-02-17 17:36:52 +00:00
2016-12-11 20:07:15 +00:00
2017-01-31 17:53:49 +00:00
2016-11-21 15:42:31 +00:00
2016-12-11 20:07:15 +00:00
2016-07-22 04:54:44 +00:00
2018-04-22 15:59:14 +00:00
2017-08-04 15:42:47 +00:00
2018-04-04 19:01:51 +00:00
2017-05-03 12:28:54 +00:00
2018-04-19 13:02:17 +00:00
2018-04-19 13:02:17 +00:00
2018-04-19 13:02:17 +00:00
2018-04-11 10:29:37 +00:00
2018-01-19 17:13:12 +00:00
2017-05-19 22:37:09 +00:00
2017-04-09 15:44:59 +00:00
2017-08-21 19:13:14 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2017-08-10 15:07:37 +00:00
2018-01-19 17:13:12 +00:00
2018-02-12 23:06:55 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-02-12 23:06:55 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-04-06 16:06:08 +00:00
2018-01-19 17:13:12 +00:00
2018-04-22 17:07:44 +00:00
2018-01-08 18:31:13 +00:00
2017-12-26 15:09:19 +00:00
2018-02-13 23:02:12 +00:00
2017-12-12 20:28:46 +00:00
2018-04-02 22:49:44 +00:00
2017-02-17 17:36:52 +00:00
2017-02-03 21:43:34 +00:00
2017-10-22 20:28:17 +00:00
2017-06-02 16:29:41 +00:00
2018-01-19 17:13:12 +00:00
2017-06-16 05:10:37 +00:00
2018-01-19 17:13:12 +00:00
2018-03-25 17:48:20 +00:00
2017-12-14 12:00:04 +00:00
2017-07-13 17:24:57 +00:00
2018-04-20 10:49:19 +00:00
2017-12-13 11:21:18 +00:00
2017-11-13 01:47:52 +00:00
2018-02-03 17:33:50 +00:00
2016-06-29 04:57:00 +00:00
2017-12-10 17:25:54 +00:00
2018-03-01 15:13:42 +00:00
2017-11-19 16:42:27 +00:00
2017-08-05 20:00:42 +00:00
2017-02-03 20:56:38 +00:00
2016-05-04 06:13:33 +00:00
2016-04-27 17:19:54 +00:00
2016-06-30 14:51:21 +00:00
2016-10-25 20:43:42 +00:00
2017-08-04 12:22:17 +00:00
2016-10-25 20:43:42 +00:00
2016-10-25 20:43:42 +00:00
2016-06-15 16:47:23 +00:00
2017-12-13 11:21:18 +00:00
2016-11-08 19:18:20 +00:00
2018-01-19 17:13:12 +00:00
2017-04-19 12:06:40 +00:00
2017-06-17 00:07:22 +00:00
2017-07-13 07:38:53 +00:00
2017-08-28 18:44:28 +00:00
2017-09-15 20:53:05 +00:00
2017-12-09 23:42:56 +00:00
2018-02-14 18:08:33 +00:00
2016-10-11 01:00:45 +00:00
2017-03-25 20:20:23 +00:00
2017-01-14 23:25:22 +00:00
2017-11-13 01:47:52 +00:00
2017-01-17 05:45:09 +00:00
2018-04-18 14:21:31 +00:00
2018-04-21 16:23:47 +00:00
2017-08-09 18:37:41 +00:00
2018-02-28 16:53:45 +00:00
2017-11-13 01:47:52 +00:00
2017-12-14 12:00:04 +00:00
2018-02-01 13:05:25 +00:00
2017-08-23 09:14:37 +00:00
2017-06-27 15:39:40 +00:00
2017-10-31 12:34:02 +00:00
2018-03-08 14:57:08 +00:00
2017-09-25 20:30:53 +00:00
2018-01-19 10:05:15 +00:00
2018-04-24 21:06:06 +00:00
2017-07-07 13:55:55 +00:00
2018-04-22 17:07:44 +00:00
2018-04-24 21:06:06 +00:00
2018-04-24 21:06:06 +00:00
2017-08-29 18:58:13 +00:00
2017-05-10 14:40:04 +00:00
2016-11-01 15:40:30 +00:00
2017-08-15 18:25:52 +00:00
2018-04-21 16:58:00 +00:00
2018-02-03 16:51:03 +00:00
2017-02-17 07:36:03 +00:00
2016-07-20 17:58:20 +00:00
2016-06-04 22:04:05 +00:00
2018-01-24 21:36:45 +00:00
2018-01-19 17:13:12 +00:00
2016-08-22 18:21:56 +00:00
2017-01-04 02:21:37 +00:00
2017-03-21 14:04:44 +00:00
2016-12-19 16:28:53 +00:00
2016-12-15 19:13:37 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2017-12-14 10:36:31 +00:00
2017-12-12 14:12:33 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2017-09-09 18:23:11 +00:00
2017-09-09 18:23:11 +00:00
2017-12-18 10:31:58 +00:00
2018-01-19 17:13:12 +00:00
2018-02-19 12:10:20 +00:00
2018-01-19 17:13:12 +00:00
2017-05-03 02:26:10 +00:00
2018-03-06 18:19:42 +00:00
2016-10-12 10:20:15 +00:00
2016-12-11 20:07:15 +00:00
2017-11-16 14:40:51 +00:00
2017-08-25 11:07:54 +00:00
2017-04-14 17:47:07 +00:00
2018-02-09 10:43:59 +00:00
2018-01-01 22:44:59 +00:00
2017-08-24 22:54:01 +00:00
2016-12-19 17:32:37 +00:00
2016-12-19 17:32:37 +00:00
2016-10-07 21:53:09 +00:00
2018-02-05 17:53:29 +00:00
2017-01-06 21:23:51 +00:00
2017-04-10 20:18:21 +00:00
2018-03-01 16:28:32 +00:00
2017-08-06 06:28:41 +00:00
2018-04-20 10:49:19 +00:00
2016-11-09 22:21:58 +00:00
2018-03-23 15:39:03 +00:00
2018-03-23 15:39:03 +00:00
2017-12-30 05:54:22 +00:00
2017-08-22 23:40:15 +00:00
2018-02-08 17:54:24 +00:00
2018-02-09 10:43:59 +00:00
2018-02-17 16:00:42 +00:00
2018-03-06 18:19:42 +00:00
2017-09-26 02:36:57 +00:00
2017-09-26 02:36:57 +00:00
2017-09-09 18:23:11 +00:00
2017-09-26 02:36:57 +00:00
2017-01-23 23:55:08 +00:00
2017-06-19 16:23:49 +00:00
2018-03-22 14:08:16 +00:00
2018-04-11 10:29:37 +00:00
2017-01-17 00:10:40 +00:00
2016-07-21 00:24:18 +00:00
2017-12-06 21:22:57 +00:00
2017-03-14 10:13:17 +00:00
2017-02-03 23:13:11 +00:00
2017-04-21 20:29:17 +00:00