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-02-20 04:42:07 +00:00
2019-01-11 20:21:14 +00:00
2018-07-02 17:23:45 +00:00
2018-07-13 11:09:52 +00:00
2019-02-20 04:42:07 +00:00
2019-03-25 16:14:21 +00:00
2019-02-20 12:04:54 +00:00
2019-01-27 13:51:59 +00:00
2019-02-20 12:04:54 +00:00
2019-01-24 12:27:10 +00:00
2018-11-30 22:53:21 +00:00
2019-02-25 15:42:02 +00:00
2019-02-20 12:04:54 +00:00
2019-02-20 12:04:54 +00:00
2018-11-30 22:53:21 +00:00
2019-01-27 13:51:59 +00:00
2019-02-20 12:04:54 +00:00
2019-01-24 12:27:10 +00:00
2019-02-20 12:04:54 +00:00
2018-11-30 22:53:21 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-03-25 15:53:55 +00:00
2019-03-05 17:56:35 +00:00
2019-01-11 20:21:14 +00:00
2019-03-29 15:28:25 +00:00
2018-04-04 13:53:51 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-02-20 04:42:07 +00:00
2019-01-11 20:21:14 +00:00
2019-02-20 04:42:07 +00:00
2019-02-20 04:42:07 +00:00
2019-03-25 15:53:55 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-03-25 15:53:55 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-02-20 04:42:07 +00:00
2019-03-25 15:53:55 +00:00
2019-01-11 20:21:14 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2018-04-03 17:14:47 +00:00
2019-03-25 15:53:55 +00:00
2019-03-05 17:56:35 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2019-01-11 20:21:14 +00:00
2018-11-30 22:53:21 +00:00
2018-11-30 22:53:21 +00:00
2019-01-11 20:21:14 +00:00
2018-11-30 22:53:21 +00:00
2019-02-20 04:42:07 +00:00
2019-02-20 04:42:07 +00:00
2018-11-30 22:53:21 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2018-06-21 11:37:13 +00:00
2019-03-25 15:53:55 +00:00
2018-11-30 15:14:20 +00:00
2019-01-20 13:55:01 +00:00
2019-03-25 15:53:55 +00:00
2018-06-21 11:37:13 +00:00
2019-01-11 20:21:14 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2019-02-20 04:42:07 +00:00
2019-01-11 20:21:14 +00:00
2018-04-04 13:53:51 +00:00
2018-04-04 13:53:51 +00:00
2018-04-03 17:14:47 +00:00
2018-04-03 17:14:47 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2019-01-11 20:21:14 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2018-04-04 13:53:51 +00:00
2019-03-25 15:53:55 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-03-25 15:53:55 +00:00
2018-06-26 16:20:16 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-03-25 15:53:55 +00:00
2018-11-30 15:14:20 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 20:05:27 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2018-04-03 17:14:47 +00:00
2019-01-11 20:21:14 +00:00
2019-03-25 15:53:55 +00:00
2018-12-07 18:20:56 +00:00
2019-03-25 15:53:55 +00:00
2019-01-11 20:21:14 +00:00
2019-01-11 20:21:14 +00:00
2019-02-20 04:42:07 +00:00
2019-01-11 20:21:14 +00:00
2019-02-20 04:42:07 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2019-02-20 04:42:07 +00:00
2019-03-25 15:53:55 +00:00
2019-01-11 20:21:14 +00:00
2019-03-25 15:53:55 +00:00
2019-02-20 04:42:07 +00:00
2018-11-30 22:53:21 +00:00
2019-02-20 04:42:07 +00:00
2019-02-20 04:42:07 +00:00
2019-03-25 15:53:55 +00:00
2019-02-20 04:42:07 +00:00
2019-03-22 14:50:53 +00:00
2018-04-03 17:14:47 +00:00
2019-02-20 04:42:07 +00:00
2019-02-20 04:42:07 +00:00
2019-01-11 20:21:14 +00:00
2019-03-25 15:53:55 +00:00
2019-03-25 15:53:55 +00:00
2019-01-11 20:21:14 +00:00
2019-03-25 15:53:55 +00:00
2019-02-20 04:42:07 +00:00