Michal Paszkowski
59e5cb7b83
[SPIR-V] Do not emit spv_ptrcast if GEP result is of expected type ( #78122 )
...
Prior to this change spv_ptrcast (and OpBitcast) was never emitted for
GEP resulting pointers. While such SPIR-V was (mostly) accepted by the
NEO GPU driver, the generated SPIR-V was incorrect.
The newly added test (pointers/getelementptr-bitcast-load.ll) verifies
that a correct bitcast is added for more complex cases and passes
spirv-val. The test is based on an OpenCL CTS test (basic/prefetch).
2024-01-15 19:56:11 -08:00
..
2023-09-20 09:31:14 -04:00
2023-09-22 14:44:21 +02:00
2024-01-04 19:31:15 -08:00
2023-10-06 09:38:00 -04:00
2024-01-04 19:31:15 -08:00
2024-01-04 19:31:15 -08:00
2024-01-04 19:31:15 -08:00
2024-01-15 19:56:11 -08:00
2024-01-04 19:31:15 -08:00
2023-10-09 10:05:58 +02:00
2023-09-20 15:26:41 +00:00
2024-01-04 19:31:15 -08:00
2023-09-20 15:26:41 +00:00
2024-01-12 10:03:48 -05:00
2023-12-04 12:24:51 -05:00
2023-12-04 12:24:51 -05:00
2022-09-02 11:59:18 +03:00
2022-09-02 11:59:18 +03:00
2022-08-28 22:18:11 +03:00
2023-09-11 10:31:50 +02:00
2022-08-28 22:18:11 +03:00
2022-09-05 15:52:01 +03:00
2023-09-11 10:31:50 +02:00
2022-09-02 11:59:18 +03:00
2022-08-28 22:18:11 +03:00
2022-08-28 22:18:11 +03:00
2022-08-28 22:18:11 +03:00
2023-11-30 15:17:32 -05:00
2022-08-02 20:22:40 +03:00
2023-09-11 10:31:50 +02:00
2022-09-05 15:52:01 +03:00
2023-10-09 10:05:58 +02:00
2023-09-19 00:50:42 -07:00
2023-11-30 15:17:32 -05:00
2023-09-19 00:50:42 -07:00
2023-09-19 00:50:42 -07:00
2023-09-19 00:50:42 -07:00
2023-09-19 00:50:42 -07:00
2023-09-19 00:50:42 -07:00
2023-11-30 15:17:32 -05:00
2022-08-02 20:22:40 +03:00
2023-12-04 12:24:51 -05:00
2023-09-20 15:26:41 +00:00
2023-09-26 16:33:17 +02:00
2024-01-15 19:56:11 -08:00
2023-09-20 09:31:14 -04:00
2023-09-19 00:50:42 -07:00
2022-08-02 20:22:40 +03:00
2022-08-02 20:22:40 +03:00
2023-09-19 00:50:42 -07:00
2024-01-04 19:31:15 -08:00
2023-12-04 12:24:51 -05:00
2022-08-02 20:22:40 +03:00
2023-11-30 15:17:32 -05:00
2023-09-19 00:50:42 -07:00
2023-09-19 00:50:42 -07:00
2024-01-15 11:35:35 +01:00
2022-09-02 11:59:18 +03:00
2022-09-02 11:59:18 +03:00
2024-01-04 19:31:15 -08:00
2023-02-27 21:39:25 +01:00
2023-12-07 15:23:27 -05:00
2022-08-03 02:33:24 +03:00
2024-01-04 19:31:15 -08:00