Zhongyunde
7203286329
[LangRef] vscale_range implies the vscale is power-of-two
...
According the discuss on D154953, we need to make the LangRef change
before the optimization relied on the new behaviour:
vscale_range implies vscale is a power-of-two value, parse of the
attribute to reject values that are not a power-of-two.
Thanks nikic for the wonderful summary of discussing on D154953:
To provide a bit more context here. We would like to have power of two vscale exposed in a target-independent way, so we can make use of this in places like ValueTracking, just like we currently do the vscale range. Some options that have been discussed are:
- Remove support for non-power-of-two vscales entirely. (This is my personal preference, but this is hard to undo if it turns out someone does need them.)
- Add an extra attribute vscale_pow2, or a data layout property.
- Make vscale_range imply power-of-two vscale, as a compromise solution (what this patch does). This would be relatively easy to turn into one of the two above at a later point.
Reviewed By: paulwalker-arm, nikic, efriedma
Differential Revision: https://reviews.llvm.org/D155193
2023-07-15 09:13:48 +08:00
..
2023-06-22 10:02:45 +02:00
2023-05-17 17:03:15 +02:00
2023-05-17 17:03:15 +02:00
2023-05-17 17:03:15 +02:00
2023-05-17 17:03:15 +02:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-06-30 12:31:32 -04:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-06-22 10:02:45 +02:00
2023-05-09 17:51:28 +03:00
2023-01-05 13:11:44 +01:00
2023-01-25 22:38:53 -04:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2023-01-10 16:54:55 +01:00
2023-01-10 16:54:55 +01:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2023-01-10 16:54:55 +01:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-02-16 17:58:33 -08:00
2022-10-28 08:07:54 -07:00
2023-07-12 12:31:42 +05:30
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-05-10 14:35:04 -04:00
2023-02-20 14:22:49 -05:00
2022-12-09 02:07:27 +03:00
2023-02-16 17:58:33 -08:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-07-12 14:35:55 +02:00
2023-07-12 09:55:53 -04:00
2023-03-21 14:15:15 -04:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-18 18:14:58 +03:00
2023-01-05 13:11:44 +01:00
2022-10-19 20:51:21 +07:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-05-26 09:06:38 -07:00
2023-01-10 16:54:55 +01:00
2023-01-05 14:51:37 -05:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2022-12-02 15:20:57 -05:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2022-12-09 02:07:27 +03:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2022-12-09 02:07:27 +03:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2022-12-09 02:07:27 +03:00
2022-12-12 21:53:28 -05:00
2023-01-25 10:05:27 -08:00
2023-01-25 10:05:27 -08:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-04-04 20:51:43 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2022-08-24 22:41:38 +00:00
2023-01-05 13:11:44 +01:00
2023-07-12 14:35:55 +02:00
2023-01-05 13:11:44 +01:00
2023-02-24 07:41:29 -04:00
2023-01-05 13:11:44 +01:00
2023-01-23 11:16:49 +01:00
2023-07-12 14:35:55 +02:00
2023-07-12 14:35:55 +02:00
2023-01-27 18:05:13 +01:00
2023-01-05 13:11:44 +01:00
2022-10-21 17:01:20 +08:00
2023-01-05 13:11:44 +01:00
2022-10-21 17:01:20 +08:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-06-30 12:31:32 -04:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2022-12-09 02:07:27 +03:00
2023-01-05 13:11:44 +01:00
2022-12-09 02:07:27 +03:00
2023-05-19 09:39:36 -07:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2022-09-12 12:41:30 +00:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2022-12-09 02:07:27 +03:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-10 16:54:55 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 10:26:02 -05:00
2023-06-05 20:44:58 -04:00
2022-12-09 02:07:27 +03:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 14:51:37 -05:00
2023-01-05 13:11:44 +01:00
2023-07-15 09:13:48 +08:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00
2023-01-05 13:11:44 +01:00