Joseph Huber
c3a3d20093
[LV] Add analysis remark for mixed precision conversions
...
Floating point conversions inside vectorized loops have performance
implications but are very subtle. The user could specify a floating
point constant, or call a function without realizing that it will
force a change in the vector width. An example of this behaviour is
seen in https://godbolt.org/z/M3nT6c . The vectorizer should indicate
when this happens becuase it is most likely unintended behaviour.
This patch adds a simple check for this behaviour by following floating
point stores in the original loop and checking if a floating point
conversion operation occurs.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D95539
2021-02-17 21:37:08 -05:00
..
2021-01-01 03:25:22 +03:00
2020-12-21 15:22:27 +00:00
2021-01-04 09:51:20 +00:00
2021-02-04 08:09:34 -05:00
2021-02-14 22:50:48 +09:00
2021-01-23 16:05:14 +00:00
2020-12-18 00:37:22 +03:00
2020-11-19 11:22:23 -08:00
2020-12-18 17:06:17 -08:00
2021-02-01 08:18:44 +08:00
2021-02-01 11:23:56 -08:00
2021-02-14 18:42:37 +00:00
2021-02-16 09:05:38 -08:00
2021-01-01 16:46:21 +01:00
2021-01-22 21:47:35 +01:00
2021-02-12 09:51:57 -08:00
2021-01-23 16:05:14 +00:00
2021-01-19 20:09:42 +01:00
2021-01-24 10:40:21 +01:00
2020-11-13 09:28:21 -08:00
2021-02-11 15:17:37 -05:00
2020-12-17 01:03:49 +03:00
2020-12-04 11:05:01 -08:00
2021-01-25 11:23:44 -08:00
2021-01-24 10:40:21 +01:00
2021-02-06 12:18:30 -06:00
2021-02-02 11:09:31 +00:00
2020-12-18 17:06:17 -08:00
2021-01-22 16:31:29 -08:00
2020-12-28 19:58:12 -08:00
2021-02-04 13:59:49 -08:00
2021-02-12 09:51:57 -08:00
2021-02-17 10:32:33 -05:00
2020-11-20 17:58:26 -05:00
2021-02-15 13:39:43 +00:00
2021-01-10 18:03:51 +09:00
2020-12-14 12:01:19 +00:00
2021-01-13 11:10:37 -06:00
2021-01-24 10:40:21 +01:00
2020-12-17 16:17:32 +00:00
2021-02-01 13:32:39 -08:00
2020-12-24 11:46:17 +09:00
2021-01-22 16:31:29 -08:00
2021-01-01 13:57:03 +00:00
2020-12-07 19:34:31 -08:00
2020-12-07 17:37:42 -08:00
2021-01-13 14:55:46 +01:00
2021-02-18 00:55:38 +08:00
2021-02-15 18:08:23 +07:00
2020-10-25 18:00:22 +01:00
2021-01-24 13:53:13 +01:00
2020-12-29 17:09:31 +09:00
2021-02-06 18:31:45 +01:00
2021-02-15 15:24:20 -05:00
2021-02-05 16:10:53 +00:00
2021-02-01 09:03:30 +00:00
2021-02-17 21:37:08 -05:00
2020-12-18 17:59:12 +00:00
2021-01-21 21:08:54 -08:00
2020-11-14 13:12:38 +03:00
2021-01-22 14:34:28 -08:00
2021-02-06 09:02:10 -08:00
2021-02-04 20:58:28 +01:00
2020-11-20 17:58:26 -05:00
2020-12-01 16:50:55 +01:00
2020-11-20 17:58:26 -05:00
2020-11-19 11:22:23 -08:00
2020-12-04 16:17:50 +07:00
2021-01-23 16:05:14 +00:00
2021-02-15 17:39:37 -08:00
2021-02-14 22:50:48 +09:00
2020-11-02 14:32:45 -05:00
2021-02-03 19:14:34 -05:00
2021-02-14 18:43:39 +00:00
2020-10-26 20:07:37 -07:00
2021-01-05 13:25:42 -08:00
2021-02-07 09:45:19 -05:00
2020-11-08 11:14:05 +00:00
2020-12-30 04:21:04 +09:00
2020-11-20 14:00:46 -05:00
2021-02-11 14:51:55 -08:00
2021-02-11 08:59:52 +00:00
2021-01-04 00:35:28 +09:00
2021-02-12 09:51:57 -08:00
2020-11-09 17:42:36 -08:00
2021-02-08 13:19:24 -08:00
2021-01-23 21:24:54 +01:00
2021-02-17 16:01:32 -08:00
2020-12-29 17:09:31 +09:00
2021-02-17 13:58:34 -05:00
2020-11-17 14:41:01 +08:00
2021-01-04 13:09:42 -08:00
2021-02-12 09:51:57 -08:00
2021-01-21 21:08:54 -08:00
2021-01-12 15:15:53 -08:00
2021-01-20 21:03:07 +01:00
2021-02-04 00:24:02 +09:00
2021-01-27 10:43:51 -08:00