Kerry McLaughlin
ff64b2933a
[LoopVectorize] Check the number of uses of an FAdd before classifying as ordered
...
checkOrderedReductions looks for Phi nodes which can be classified as in-order,
meaning they can be vectorised without unsafe math. In order to vectorise the
reduction it should also be classified as in-loop by getReductionOpChain, which
checks that the reduction has two uses.
In this patch, a similar check is added to checkOrderedReductions so that we
now return false if there are more than two uses of the FAdd instruction.
This fixes PR52515.
Reviewed By: fhahn, david-arm
Differential Revision: https://reviews.llvm.org/D114002
2021-11-18 16:41:19 +00:00
..
2021-06-07 10:47:52 +01:00
2021-06-07 10:47:52 +01:00
2021-05-19 10:40:56 +01:00
2021-07-05 11:25:10 +01:00
2021-08-05 16:20:50 +01:00
2021-08-17 14:42:47 +01:00
2021-10-27 22:21:37 +03:00
2021-10-22 14:08:58 +03:00
2021-07-26 15:20:04 +01:00
2021-07-05 11:25:10 +01:00
2021-09-30 09:41:14 -07:00
2021-06-07 10:47:52 +01:00
2021-05-24 19:43:40 +02:00
2021-06-02 14:47:47 +01:00
2021-04-28 13:41:07 +01:00
2021-06-07 10:47:52 +01:00
2021-05-24 19:43:40 +02:00
2021-07-26 16:01:55 +01:00
2021-09-27 10:32:28 +01:00
2021-07-16 11:47:13 +01:00
2021-07-26 20:27:49 +01:00
2021-07-22 12:48:27 +01:00
2021-07-06 13:06:21 +01:00
2021-11-10 09:42:58 +00:00
2021-11-08 16:59:46 +00:00
2021-11-08 16:59:46 +00:00
2021-11-08 16:59:46 +00:00
2021-10-27 22:21:37 +03:00
2021-08-18 17:01:56 +01:00
2021-08-03 09:33:01 +01:00
2021-11-18 16:41:19 +00:00
2021-11-10 09:42:58 +00:00
2021-11-10 09:42:58 +00:00
2021-11-08 09:41:13 +00:00
2021-05-19 10:40:56 +01:00
2021-08-17 14:42:47 +01:00
2021-11-12 14:24:38 +00:00
2021-11-17 13:11:58 +00:00
2021-07-26 20:27:48 +01:00
2021-05-19 10:40:56 +01:00
2021-11-10 11:21:19 +00:00
2021-08-17 14:42:47 +01:00
2021-05-19 10:40:56 +01:00
2021-04-07 15:59:32 +01:00
2021-11-10 09:42:58 +00:00
2021-10-21 09:33:50 +01:00
2021-07-27 11:37:21 +01:00
2021-05-19 10:40:56 +01:00
2021-09-20 18:32:24 -07:00
2021-09-20 18:32:24 -07:00
2021-08-05 16:20:50 +01:00
2021-11-10 09:42:58 +00:00
2021-09-20 15:01:59 +01:00
2021-11-03 09:51:11 +00:00
2021-05-10 21:19:58 +01:00
2021-08-23 21:09:26 +01:00
2021-04-07 15:59:32 +01:00