Jonas Paulsson
84319bfc40
[SelectionDAG] Optimize VSELECT->SETCC of incompatible or illegal types.
...
Don't scalarize VSELECT->SETCC when operands/results needs to be widened,
or when the type of the SETCC operands are different from those of the VSELECT.
(VSELECT SETCC) and (VSELECT (AND/OR/XOR (SETCC,SETCC))) are handled.
The previous splitting of VSELECT->SETCC in DAGCombiner::visitVSELECT() is
no longer needed and has been removed.
Updated tests:
test/CodeGen/ARM/vuzp.ll
test/CodeGen/NVPTX/f16x2-instructions.ll
test/CodeGen/X86/2011-10-19-widen_vselect.ll
test/CodeGen/X86/2011-10-21-widen-cmp.ll
test/CodeGen/X86/psubus.ll
test/CodeGen/X86/vselect-pcmp.ll
Review: Eli Friedman, Simon Pilgrim
https://reviews.llvm.org/D29489
llvm-svn: 297930
2017-03-16 07:17:12 +00:00
..
2017-01-31 01:10:58 +00:00
2017-02-24 17:17:33 +00:00
2015-04-28 17:18:30 +00:00
2016-10-31 21:51:42 +00:00
2017-02-21 22:56:05 +00:00
2016-01-23 21:12:20 +00:00
2016-12-14 22:32:55 +00:00
2016-01-22 19:47:26 +00:00
2016-09-28 17:25:38 +00:00
2015-07-29 18:59:09 +00:00
2016-07-20 21:44:07 +00:00
2015-01-26 19:52:20 +00:00
2016-09-09 21:07:26 +00:00
2016-05-02 18:12:02 +00:00
2016-04-05 12:38:01 +00:00
2015-08-11 22:16:34 +00:00
2016-07-26 18:28:33 +00:00
2014-12-15 19:07:53 +00:00
2017-01-18 00:09:01 +00:00
2016-03-01 19:24:03 +00:00
2017-01-15 16:55:54 +00:00
2017-01-18 00:07:52 +00:00
2016-04-15 15:57:41 +00:00
2016-02-04 04:15:36 +00:00
2016-10-28 21:44:00 +00:00
2015-07-01 21:32:42 +00:00
2017-03-07 20:33:38 +00:00
2017-03-16 07:17:12 +00:00
2017-02-03 15:13:50 +00:00
2017-01-13 18:48:13 +00:00
2017-01-31 14:35:37 +00:00
2015-01-14 15:36:28 +00:00
2015-02-27 21:17:42 +00:00
2017-01-13 18:48:13 +00:00
2015-03-12 01:50:30 +00:00
2016-12-20 02:09:43 +00:00
2015-02-27 21:17:42 +00:00
2015-08-22 05:40:26 +00:00
2016-01-30 01:07:38 +00:00
2016-01-30 01:07:38 +00:00
2016-01-30 01:07:38 +00:00
2017-01-18 00:29:53 +00:00
2016-01-15 23:57:53 +00:00
2015-06-09 16:29:34 +00:00
2015-06-30 17:18:00 +00:00
2017-01-13 20:56:17 +00:00
2015-02-27 21:17:42 +00:00
2014-12-15 19:07:53 +00:00
2015-02-27 21:17:42 +00:00
2017-01-18 00:08:44 +00:00
2015-06-16 20:24:25 +00:00
2016-12-22 00:51:59 +00:00
2017-01-22 20:28:56 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2017-02-04 01:54:56 +00:00
2017-02-21 22:56:05 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 21:17:42 +00:00
2015-08-05 23:11:57 +00:00
2017-02-23 22:38:24 +00:00
2015-07-01 20:08:06 +00:00
2015-07-10 04:31:56 +00:00
2017-03-02 21:58:35 +00:00
2017-01-31 01:10:58 +00:00
2016-07-20 18:39:47 +00:00
2015-02-27 21:17:42 +00:00
2016-02-17 17:46:50 +00:00
2016-07-06 20:02:45 +00:00
2014-12-15 19:07:53 +00:00
2017-01-15 16:55:37 +00:00
2017-03-07 20:33:38 +00:00
2017-01-28 16:38:15 +00:00
2016-07-06 20:02:45 +00:00
2015-02-27 21:17:42 +00:00
2014-12-17 17:59:04 +00:00
2016-04-01 01:09:07 +00:00
2017-01-15 16:54:35 +00:00
2016-07-18 21:58:48 +00:00
2017-02-23 22:38:24 +00:00
2015-06-04 21:28:26 +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-08-01 18:02:12 +00:00
2016-08-12 22:02:19 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-10-31 21:51:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-03-30 19:30:55 +00:00
2015-03-30 19:30:55 +00:00
2015-03-30 19:30:55 +00:00
2015-03-30 19:30:55 +00:00
2015-03-30 19:30:55 +00:00
2015-03-30 19:30:55 +00:00
2015-03-30 19:30:55 +00:00
2016-07-06 21:06:10 +00:00
2016-07-06 21:06:10 +00:00
2016-07-06 21:06:10 +00:00
2016-04-15 01:20:52 +00:00
2017-01-31 23:08:57 +00:00
2015-06-04 21:28:26 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-11-22 00:16:24 +00:00
2016-07-06 20:02:45 +00:00
2015-06-04 21:28:26 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2017-01-06 00:11:46 +00:00
2017-02-21 22:56:05 +00:00
2017-02-21 22:56:05 +00:00
2017-02-21 22:56:05 +00:00
2015-02-27 21:17:42 +00:00
2014-12-17 17:59:04 +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
2014-12-01 21:16:17 +00:00
2016-09-21 04:43:11 +00:00
2016-06-27 20:22:22 +00:00