OCHyams
9391177cbc
[Assignment Tracking] Check getTypeSizeInBits result for scalable vector types
...
Without this patch, in `getAssignmentInfo` the result of `getTypeSizeInBits` is
cast to `uint64_t`, which a) is an operation that will eventually be
unsupported by the API according to the comments, and b) causes an assertion
failure if the type is a scalable vector. Don't cast the `TypeSize` to
`uint64_t` and check `isScalable` before getting the fixed size.
This can result in incorrect variable locations, see llvm.org/PR62346 (but is
better than crashing).
Reviewed By: paulwalker-arm
Differential Revision: https://reviews.llvm.org/D149137
2023-04-28 09:10:38 +01:00
..
2023-04-26 16:19:53 -07:00
2022-11-28 09:31:21 -05:00
2023-04-27 09:42:20 -07:00
2023-04-28 09:10:38 +01:00
2022-12-13 16:08:09 +01:00
2023-03-17 17:09:31 +01:00
2022-12-12 11:30:52 +08:00
2023-04-26 09:58:31 +01:00
2023-04-04 12:48:00 -07:00
2022-12-01 21:25:59 +01:00
2023-04-25 14:15:33 +01:00
2023-04-05 15:53:01 -07:00
2023-02-09 18:45:20 +03:00
2022-11-19 15:17:42 -05:00
2022-10-12 12:49:17 +02:00
2022-12-09 20:17:37 +00:00
2022-10-12 12:49:17 +02:00
2023-04-23 06:35:35 +00:00
2022-10-12 12:49:17 +02:00
2023-04-12 23:47:24 -07:00
2023-04-27 13:56:09 +01:00
2023-03-16 15:26:12 -04:00
2022-10-12 12:49:17 +02:00
2023-02-10 01:33:51 +00:00
2022-10-12 12:49:17 +02:00
2022-10-12 12:49:17 +02:00
2022-12-09 01:04:45 +03:00
2022-07-20 13:57:11 -04:00
2022-12-09 01:04:45 +03:00
2022-12-01 21:17:18 +03:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00
2022-12-15 07:01:14 -08:00
2023-04-04 12:48:00 -07:00
2022-12-09 01:04:45 +03:00
2022-10-12 12:49:17 +02:00
2022-10-12 12:49:17 +02:00
2023-03-27 15:34:00 -07:00
2023-01-11 15:07:11 -08:00
2022-10-12 12:49:17 +02:00
2022-09-19 11:41:16 -07:00
2022-10-12 12:49:17 +02:00
2022-10-12 12:49:17 +02:00
2022-10-12 12:49:17 +02:00
2022-10-12 12:49:17 +02:00
2023-01-06 10:51:02 +00:00
2023-03-27 10:20:08 +01:00
2022-12-09 01:04:45 +03:00
2022-10-12 12:49:17 +02:00
2022-12-09 01:04:45 +03:00
2022-11-08 12:15:42 +01:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00
2023-01-06 10:51:02 +00:00
2022-12-09 01:04:45 +03:00
2022-12-01 21:17:18 +03:00
2022-12-09 01:04:45 +03:00
2023-02-15 19:07:05 +08:00
2022-08-31 09:49:32 -07:00
2022-08-04 10:20:29 -07:00
2022-08-08 11:08:48 -07:00
2022-08-04 10:20:29 -07:00
2022-08-04 10:20:29 -07:00
2022-08-04 10:20:29 -07:00
2023-04-05 11:25:26 -07:00
2022-08-08 11:40:12 -07:00
2022-08-04 10:20:29 -07:00
2023-04-23 06:35:35 +00:00
2022-09-19 11:41:16 -07:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00