Sanjay Patel
26368cd5d9
[InstCombine] narrow select to match condition operands' size
...
This is the planned enhancement to D47163 / rL333611.
We want to match cmp/select sizes because that will be recognized
as min/max more easily and lead to better codegen (especially for
vector types).
As mentioned in D47163, this improves some of the tests that would
also be folded by D46380, so we may want to adjust that patch to
match the new patterns where the extend op occurs after the select.
llvm-svn: 333689
2018-05-31 19:55:27 +00:00
..
2018-05-30 14:38:50 +00:00
2018-05-22 08:04:33 +00:00
2018-05-31 12:19:18 +00:00
2018-05-20 23:34:04 +00:00
2018-05-24 20:16:43 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-02-01 13:05:25 +00:00
2018-05-09 02:40:45 +00:00
2018-05-25 19:18:09 +00:00
2018-05-25 19:18:09 +00:00
2018-04-26 20:07:17 +00:00
2018-04-26 20:52:28 +00:00
2018-04-30 21:28:18 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-05-09 02:40:45 +00:00
2018-01-19 17:13:12 +00:00
2018-03-25 17:48:20 +00:00
2018-02-03 16:51:03 +00:00
2018-05-31 06:00:36 +00:00
2018-04-14 13:39:02 +00:00
2018-01-17 14:39:28 +00:00
2018-02-08 14:10:01 +00:00
2018-02-08 14:10:01 +00:00
2018-04-24 21:06:06 +00:00
2018-04-21 16:58:00 +00:00
2018-02-13 23:02:12 +00:00
2018-01-09 18:56:03 +00:00
2017-12-30 03:13:00 +00:00
2018-05-01 12:25:46 +00:00
2017-12-16 01:26:25 +00:00
2017-12-16 01:26:25 +00:00
2018-05-22 23:29:40 +00:00
2018-05-09 22:56:32 +00:00
2018-01-19 17:13:12 +00:00
2018-01-03 13:35:43 +00:00
2018-04-22 17:07:44 +00:00
2018-02-05 21:50:32 +00:00
2018-05-31 00:16:58 +00:00
2018-04-22 17:07:44 +00:00
2018-03-22 14:08:16 +00:00
2018-02-20 23:29:05 +00:00
2018-05-09 02:40:45 +00:00
2018-05-09 02:40:45 +00:00
2018-05-09 02:40:45 +00:00
2018-05-09 02:40:45 +00:00
2018-05-24 23:00:23 +00:00
2018-05-09 02:40:45 +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
2018-05-11 20:04:50 +00:00
2017-12-30 05:54:22 +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
2018-04-05 15:36:55 +00:00
2018-03-18 14:32:54 +00:00
2018-04-05 15:36:55 +00:00
2018-05-31 00:16:58 +00:00
2018-03-05 18:04:12 +00:00
2018-05-30 23:55:12 +00:00
2018-05-14 22:05:01 +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
2018-04-03 17:26:20 +00:00
2018-02-14 06:58:08 +00:00
2018-03-13 21:13:18 +00:00
2018-02-05 21:50:32 +00:00
2018-05-20 14:23:23 +00:00
2017-12-30 03:13:00 +00:00
2018-05-18 23:52:57 +00:00
2018-04-28 15:45:07 +00:00
2018-04-28 15:45:07 +00:00
2018-05-09 02:40:45 +00:00
2018-04-22 15:59:14 +00:00
2018-04-04 19:01:51 +00:00
2018-05-31 06:00:36 +00:00
2018-05-31 06:00:36 +00:00
2018-05-31 06:00:36 +00:00
2018-05-31 06:00:36 +00:00
2018-05-20 14:23:23 +00:00
2018-05-10 20:03:13 +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-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-05-31 19:55:27 +00:00
2017-12-26 15:09:19 +00:00
2018-05-10 20:03:13 +00:00
2018-02-13 23:02:12 +00:00
2018-04-02 22:49:44 +00:00
2018-01-19 17:13:12 +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
2018-04-27 21:23:20 +00:00
2018-04-20 10:49:19 +00:00
2018-02-03 17:33:50 +00:00
2018-03-01 15:13:42 +00:00
2018-01-19 17:13:12 +00:00
2018-02-14 18:08:33 +00:00
2018-05-21 17:46:34 +00:00
2018-04-18 14:21:31 +00:00
2018-05-03 21:58:44 +00:00
2018-05-11 00:46:09 +00:00
2018-02-28 16:53:45 +00:00
2018-05-20 14:23:23 +00:00
2018-05-31 19:55:27 +00:00
2018-02-01 13:05:25 +00:00
2018-03-08 14:57:08 +00:00
2018-01-19 10:05:15 +00:00
2018-05-03 21:58:44 +00:00
2018-05-31 19:55:27 +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
2018-04-21 16:58:00 +00:00
2018-02-03 16:51:03 +00:00
2018-01-24 21:36:45 +00:00
2018-01-19 17:13:12 +00:00
2018-05-11 17:50:49 +00:00
2018-01-19 17:13:12 +00:00
2018-05-11 16:53:56 +00:00
2018-01-19 17:13:12 +00:00
2017-12-14 10:36:31 +00:00
2018-01-19 17:13:12 +00:00
2018-04-25 18:58:53 +00:00
2018-04-25 18:58:53 +00:00
2018-01-19 17:13:12 +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
2018-05-22 18:50:06 +00:00
2018-02-09 10:43:59 +00:00
2018-05-09 22:27:34 +00:00
2018-04-30 17:59:33 +00:00
2018-04-30 17:59:33 +00:00
2018-05-17 08:16:08 +00:00
2018-05-23 03:01:45 +00:00
2018-05-03 21:58:44 +00:00
2018-02-05 17:53:29 +00:00
2018-03-01 16:28:32 +00:00
2018-05-31 06:00:36 +00:00
2018-05-16 15:15:22 +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
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
2018-03-22 14:08:16 +00:00
2018-04-11 10:29:37 +00:00
2018-05-22 18:50:06 +00:00