Alex Voicu
ab7dba233a
[CodeGen][LLVM] Make the va_list related intrinsics generic. ( #85460 )
...
Currently, the builtins used for implementing `va_list` handling
unconditionally take their arguments as unqualified `ptr`s i.e. pointers
to AS 0. This does not work for targets where the default AS is not 0 or
AS 0 is not a viable AS (for example, a target might choose 0 to
represent the constant address space). This patch changes the builtins'
signature to take generic `anyptr` args, which corrects this issue. It
is noisy due to the number of tests affected. A test for an upstream
target which does not use 0 as its default AS (SPIRV for HIP device
compilations) is added as well.
2024-03-27 11:41:34 +00:00
..
2022-10-21 17:02:02 +02:00
2022-11-29 13:29:02 +01:00
2022-11-29 13:29:02 +01:00
2022-11-29 13:29:02 +01:00
2022-11-29 13:29:02 +01:00
2022-11-29 13:29:02 +01:00
2022-10-21 17:02:02 +02:00
2022-11-29 13:29:02 +01:00
2022-11-29 13:29:02 +01:00
2022-10-21 17:02:02 +02:00
2023-12-06 14:16:56 -08:00
2023-12-31 18:28:48 +08:00
2022-10-21 17:02:02 +02:00
2023-02-16 17:58:33 -08:00
2022-12-08 02:38:50 +03:00
2022-10-21 17:02:02 +02:00
2022-11-29 13:29:02 +01:00
2022-11-29 13:29:02 +01:00
2023-07-03 10:05:40 +01:00
2022-12-08 02:38:50 +03:00
2023-06-26 11:58:03 +02:00
2022-10-21 17:02:02 +02:00
2022-10-21 17:02:02 +02:00
2022-11-29 13:29:02 +01:00
2022-11-27 13:14:53 -05:00
2022-10-21 17:02:02 +02:00
2022-11-29 13:29:02 +01:00
2022-11-29 13:29:02 +01:00
2022-10-21 17:02:02 +02:00
2022-10-21 17:02:02 +02:00
2022-11-29 13:29:02 +01:00
2022-10-21 17:02:02 +02:00
2022-10-21 17:02:02 +02:00
2022-11-29 13:29:02 +01:00
2022-11-29 13:29:02 +01:00
2022-11-27 13:14:53 -05:00
2023-12-09 16:45:48 +08:00
2022-11-29 13:29:02 +01:00
2022-11-27 13:14:53 -05:00
2022-10-21 17:02:02 +02:00
2022-11-29 13:29:02 +01:00
2022-11-29 13:29:02 +01:00
2022-10-21 17:02:02 +02:00
2022-10-21 17:02:02 +02:00
2022-11-29 13:29:02 +01:00
2022-10-21 17:02:02 +02:00
2022-10-21 17:02:02 +02:00
2022-10-21 17:02:02 +02:00
2022-11-29 13:29:02 +01:00
2022-12-08 11:47:16 +01:00
2022-12-08 02:38:50 +03:00
2022-11-27 13:14:53 -05:00
2022-11-27 13:14:53 -05:00
2022-10-21 17:02:02 +02:00
2022-10-21 17:02:02 +02:00
2023-12-09 16:45:48 +08:00
2023-01-06 10:51:02 +00:00
2022-11-29 13:29:02 +01:00
2022-12-08 02:38:50 +03:00
2022-10-21 17:02:02 +02:00
2022-11-27 13:14:53 -05:00
2022-11-29 13:29:02 +01:00
2022-11-29 13:29:02 +01:00
2022-11-29 13:29:02 +01:00
2024-03-27 11:41:34 +00:00
2022-11-29 13:29:02 +01:00