Thomas Lively
72a72315b0
[WebAssembly] Mark @llvm.wasm.shuffle lane indices as immediates
...
This intrinsic is meant to lower directly to the i8x16.shuffle instruction,
which takes its lane index arguments as immmediates. The ISel for the intrinsic
assumed that the lane index arguments were constants, so bitcode that
"incorrectly" used this intrinsic with non-immediate arguments caused an
assertion failure in the backend.
Avoid the crash by defining the lane index arguments to be immediates, matching
the underlying instruction. Update ISel accordingly. This change means that the
bitcode that previously caused a crash will now fail to validate.
Fixes #55559 .
Reviewed By: dschuff
Differential Revision: https://reviews.llvm.org/D149898
2023-05-05 08:12:41 -07:00
..
2023-04-04 12:16:50 +02:00
2022-12-19 13:07:59 +01:00
2023-02-01 15:14:11 +01:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-01-24 17:55:11 -04:00
2023-02-14 15:20:06 -05:00
2023-02-14 15:20:06 -05:00
2022-12-19 13:07:59 +01:00
2023-04-05 01:41:59 -07:00
2022-12-19 13:07:59 +01:00
2023-04-05 01:42:36 -07:00
2022-12-19 13:07:59 +01:00
2023-01-05 13:21:20 +01:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2022-11-02 12:51:28 -07:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-01-05 13:21:20 +01:00
2021-07-14 11:17:08 -07:00
2022-06-20 10:57:41 +01:00
2022-06-20 10:57:41 +01:00
2022-06-20 10:57:41 +01:00
2022-06-20 10:57:41 +01:00
2022-09-27 09:16:30 +02:00
2022-09-27 09:16:30 +02:00
2022-06-20 10:57:41 +01:00
2022-06-20 10:57:41 +01:00
2021-07-14 11:17:08 -07:00
2023-02-07 10:54:23 +00:00
2023-02-07 10:54:23 +00:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-02-23 17:59:41 +00:00
2023-02-23 17:59:41 +00:00
2021-07-14 11:17:08 -07:00
2022-08-31 14:54:13 -07:00
2023-02-07 15:56:10 +00:00
2022-06-20 10:57:41 +01:00
2022-06-20 10:57:41 +01:00
2022-09-27 09:16:30 +02:00
2022-09-27 09:16:30 +02:00
2022-09-27 09:16:30 +02:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-01-16 10:30:00 +01:00
2023-01-05 13:21:20 +01:00
2022-12-19 13:07:59 +01:00
2022-03-22 09:24:58 +00:00
2022-12-19 13:07:59 +01:00
2022-08-10 10:34:10 +01:00
2022-12-19 13:07:59 +01:00
2022-08-10 10:34:10 +01:00
2022-12-19 13:07:59 +01:00
2022-11-02 12:51:28 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2023-01-26 10:26:24 +00:00
2021-07-14 11:17:08 -07:00
2022-12-06 15:24:23 -08:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-02-26 19:17:06 +00:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-05-19 11:13:37 -07:00
2022-12-19 13:07:59 +01:00
2023-04-04 08:32:26 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-01-30 07:08:42 +03:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-03-17 20:13:00 -07:00
2022-12-19 13:07:59 +01:00
2023-04-04 12:16:50 +02:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-01-30 07:08:42 +03:00
2022-12-19 13:07:59 +01:00
2023-01-30 07:08:42 +03:00
2023-01-30 07:08:42 +03:00
2021-09-10 15:18:23 +02:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-03-02 09:37:25 +08:00
2023-01-26 10:26:24 +00:00
2022-11-02 12:51:28 -07:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2022-03-22 09:24:58 +00:00
2023-03-22 06:53:54 +08:00
2022-11-16 09:02:40 +00:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2022-11-02 12:51:28 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-01-26 10:26:24 +00:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-03-13 08:59:52 +08:00
2023-05-03 16:00:20 -07:00
2023-03-30 20:14:11 -07:00
2023-02-09 18:45:20 +03:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2022-06-20 10:57:41 +01:00
2022-11-02 12:51:28 -07:00
2023-01-13 20:30:30 -05:00
2022-11-21 14:16:04 -08:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2022-11-02 12:51:28 -07:00
2023-02-22 10:02:16 +00:00
2021-07-14 11:17:08 -07:00
2021-08-02 09:52:34 -07:00
2023-01-26 14:26:02 +00:00
2023-01-04 15:07:47 +00:00
2021-07-14 11:17:08 -07:00
2022-09-13 16:03:18 -07:00
2022-11-02 12:51:28 -07:00
2022-12-19 13:07:59 +01:00
2023-01-06 12:28:29 +00:00
2022-09-13 16:03:18 -07:00
2022-12-19 10:37:19 +00:00
2023-01-26 10:26:24 +00:00
2023-05-05 08:12:41 -07:00
2023-05-03 16:00:20 -07:00
2022-12-19 13:07:59 +01:00
2023-01-04 15:07:47 +00:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2023-01-04 15:07:47 +00:00
2023-03-30 19:20:04 -07:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2022-11-02 12:51:28 -07:00
2023-01-04 15:07:47 +00:00
2022-12-12 08:35:43 +00:00
2022-12-19 13:07:59 +01:00
2021-10-20 07:46:41 -07:00
2021-12-15 09:22:40 -08:00
2023-01-26 10:26:24 +00:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2023-01-26 10:26:24 +00:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2022-11-23 18:45:52 +01:00
2022-11-23 18:45:52 +01:00
2022-11-23 18:45:52 +01:00
2022-11-23 18:45:52 +01:00
2022-06-20 10:57:41 +01:00
2023-03-22 09:28:48 -07:00
2022-11-02 12:51:28 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-05-19 11:13:37 -07:00
2023-01-26 10:26:24 +00:00
2021-07-14 11:17:08 -07:00
2022-12-05 16:13:05 +00:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2023-01-26 10:26:24 +00:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-01-30 07:08:42 +03:00
2022-12-19 13:07:59 +01:00
2022-06-24 23:15:06 +08:00