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
..
2018-01-19 17:13:12 +00:00
2018-04-23 20:20:32 +00:00
2018-02-22 18:55:59 +00:00
2018-03-02 00:59:27 +00:00
2018-02-21 01:55:33 +00:00
2018-03-12 22:28:18 +00:00
2017-10-25 13:40:08 +00:00
2018-04-23 20:09:08 +00:00
2018-04-20 19:56:26 +00:00
2018-03-12 03:50:07 +00:00
2017-11-09 20:01:31 +00:00
2018-01-08 17:38:09 +00:00
2018-04-03 20:54:20 +00:00
2018-04-10 20:42:39 +00:00
2018-02-15 22:26:18 +00:00
2018-04-12 02:06:01 +00:00
2018-04-23 19:06:49 +00:00
2018-03-15 18:12:27 +00:00
2018-04-06 10:14:09 +00:00
2018-01-06 16:16:04 +00:00
2018-03-23 21:46:16 +00:00
2018-04-01 15:54:40 +00:00
2018-04-06 15:54:47 +00:00
2018-02-23 10:41:57 +00:00
2018-04-12 05:53:20 +00:00
2017-11-08 21:59:51 +00:00
2018-01-22 22:05:25 +00:00
2018-04-04 05:46:47 +00:00
2018-02-02 16:07:16 +00:00
2018-04-04 21:46:27 +00:00
2018-04-24 21:06:06 +00:00
2018-04-24 00:25:01 +00:00
2018-03-01 01:19:18 +00:00
2018-04-18 13:50:28 +00:00
2018-04-20 13:51:36 +00:00
2018-02-23 19:03:04 +00:00
2018-03-18 15:59:19 +00:00
2018-04-24 15:28:47 +00:00
2018-01-12 07:24:43 +00:00
2018-02-14 06:58:08 +00:00
2018-04-24 18:10:52 +00:00
2018-03-22 16:03:59 +00:00
2018-04-23 12:33:31 +00:00
2018-04-23 10:32:37 +00:00
2018-03-09 16:08:55 +00:00
2018-04-18 12:29:24 +00:00
2018-04-24 04:42:37 +00:00
2018-04-24 17:04:17 +00:00
2018-04-20 01:36:48 +00:00
2018-04-17 22:03:08 +00:00
2018-04-23 19:55:04 +00:00
2018-01-19 17:13:12 +00:00
2018-04-09 13:14:06 +00:00
2018-01-19 17:13:12 +00:00
2018-03-07 02:17:08 +00:00
2018-04-20 16:37:13 +00:00
2018-04-20 22:11:03 +00:00
2017-11-27 21:15:43 +00:00
2018-03-27 18:55:56 +00:00
2018-02-14 06:58:08 +00:00
2018-01-19 17:13:12 +00:00
2018-03-23 21:46:16 +00:00
2018-04-19 21:56:17 +00:00
2018-03-05 22:27:30 +00:00
2018-02-12 22:39:47 +00:00
2018-01-09 20:09:23 +00:00
2018-03-23 12:49:39 +00:00
2018-02-13 18:00:25 +00:00
2018-04-24 10:33:08 +00:00
2018-04-12 20:58:24 +00:00
2018-01-11 21:28:57 +00:00
2018-04-16 18:14:19 +00:00
2017-11-28 11:32:31 +00:00
2018-03-13 14:25:33 +00:00
2018-04-04 10:58:15 +00:00
2018-01-09 19:39:35 +00:00
2017-11-28 22:39:38 +00:00
2018-04-20 02:26:12 +00:00
2018-03-09 00:45:04 +00:00
2018-04-06 21:32:36 +00:00