Simon Pilgrim
6a75c36ea9
[SLP] Add support for commutative icmp/fcmp predicates
...
For the cases where the icmp/fcmp predicate is commutative, use reorderInputsAccordingToOpcode to collect and commute the operands.
This requires a helper to recognise commutativity in both general Instruction and CmpInstr types - the CmpInst::isCommutative doesn't overload the Instruction::isCommutative method for reasons I'm not clear on (maybe because its based on predicate not opcode?!?).
Differential Revision: https://reviews.llvm.org/D59992
llvm-svn: 357266
2019-03-29 15:28:25 +00:00
..
2019-01-15 16:18:52 +00:00
2019-01-15 21:26:51 +00:00
2018-12-17 21:14:51 +00:00
2019-03-28 00:51:36 +00:00
2019-03-06 19:27:13 +00:00
2019-01-04 21:21:43 +00:00
2018-10-24 18:53:47 +00:00
2018-11-29 15:27:04 +00:00
2019-01-04 19:04:54 +00:00
2019-02-15 18:46:58 +00:00
2019-03-21 13:57:07 +00:00
2019-03-04 20:57:14 +00:00
2019-03-22 16:37:37 +00:00
2019-03-11 18:31:28 +00:00
2019-01-22 01:34:33 +00:00
2018-12-18 09:52:52 +00:00
2019-03-01 21:02:40 +00:00
2019-02-25 20:16:11 +00:00
2018-12-20 13:01:04 +00:00
2018-09-11 11:51:29 +00:00
2019-01-31 17:18:11 +00:00
2018-11-28 21:14:32 +00:00
2018-11-16 17:47:21 +00:00
2018-08-02 23:54:16 +00:00
2019-02-09 09:18:37 +00:00
2019-02-13 09:56:30 +00:00
2019-02-20 00:31:28 +00:00
2019-03-22 18:27:13 +00:00
2018-08-24 11:40:04 +00:00
2019-02-26 22:55:46 +00:00
2019-03-05 12:12:18 +00:00
2019-03-12 21:02:54 +00:00
2019-03-08 09:07:45 +00:00
2019-03-28 00:51:36 +00:00
2019-03-27 17:56:15 +00:00
2019-03-14 23:09:17 +00:00
2019-03-21 21:13:08 +00:00
2019-03-28 20:44:50 +00:00
2019-01-29 10:19:44 +00:00
2019-01-23 07:20:56 +00:00
2019-03-14 23:09:17 +00:00
2019-02-02 15:26:05 +00:00
2019-03-20 18:33:37 +00:00
2019-03-04 23:37:41 +00:00
2019-01-10 09:58:23 +00:00
2018-12-12 17:32:52 +00:00
2019-02-03 20:33:20 +00:00
2018-08-22 20:05:21 +00:00
2018-11-08 20:44:19 +00:00
2019-01-22 11:49:06 +00:00
2019-02-12 00:33:25 +00:00
2019-03-06 23:04:40 +00:00
2018-11-14 01:47:32 +00:00
2019-02-21 19:54:05 +00:00
2019-03-28 22:17:29 +00:00
2019-02-04 19:55:59 +00:00
2019-02-14 13:59:39 +00:00
2018-12-12 17:32:52 +00:00
2018-09-11 19:19:21 +00:00
2019-03-28 10:37:12 +00:00
2018-07-13 23:58:46 +00:00
2019-03-17 23:16:18 +00:00
2019-03-22 18:27:13 +00:00
2018-07-13 19:57:39 +00:00
2019-01-31 09:10:17 +00:00
2018-12-07 14:39:46 +00:00
2018-11-30 19:20:02 +00:00
2019-01-26 23:40:35 +00:00
2019-02-08 20:48:56 +00:00
2018-11-05 18:16:32 +00:00
2019-03-19 14:08:23 +00:00
2019-03-21 20:16:09 +00:00
2019-03-06 22:16:47 +00:00
2019-01-01 21:51:39 +00:00
2018-12-18 22:42:08 +00:00
2018-12-14 18:15:11 +00:00
2019-03-22 20:16:35 +00:00
2019-01-24 16:45:23 +00:00
2018-08-30 20:44:51 +00:00
2019-01-24 00:55:23 +00:00
2019-03-21 17:38:52 +00:00
2018-12-20 04:58:07 +00:00
2018-12-12 18:55:14 +00:00
2018-12-04 14:23:37 +00:00
2019-03-14 23:09:17 +00:00
2019-03-29 15:28:25 +00:00
2019-03-14 23:09:17 +00:00
2018-10-23 14:07:39 +00:00
2018-10-17 15:37:41 +00:00
2018-10-08 18:03:40 +00:00
2019-01-11 18:31:57 +00:00
2019-02-22 14:33:46 +00:00
2018-09-25 20:14:40 +00:00