Nathan Gauër
a625bc60e2
[HLSL][SPIR-V] Add hlsl_private address space for SPIR-V ( #133464 )
...
This is an alternative to
https://github.com/llvm/llvm-project/pull/122103
In SPIR-V, private global variables have the Private storage class. This
PR adds a new address space which allows frontend to emit variable with
this storage class when targeting this backend.
This is covered in this proposal: llvm/wg-hlsl@4c9e11a
This PR will cause addrspacecast to show up in several cases, like class
member functions or assignment. Those will have to be handled in the
backend later on, particularly to fixup pointer storage classes in some
functions.
Before this change, global variable were emitted with the 'Function'
storage class, which was wrong.
2025-04-10 10:55:10 +02:00
..
2025-04-10 06:40:54 +02:00
2025-04-10 10:55:10 +02:00
2024-05-04 23:08:11 -07:00
2024-05-05 10:46:06 -07:00
2024-11-15 09:19:39 +00:00
2024-05-04 23:08:11 -07:00
2024-10-17 09:22:55 +01:00
2024-10-25 11:24:47 -07:00
2024-05-14 09:45:54 +02:00
2024-06-04 09:24:44 -07:00
2025-01-27 11:54:06 +01:00
2025-01-27 11:54:06 +01:00
2025-02-27 10:41:04 -05:00
2024-04-16 11:49:25 -07:00
2024-05-04 23:08:11 -07:00
2025-02-18 09:42:24 +01:00
2024-06-12 15:43:12 -07:00
2025-02-05 08:46:14 -05:00
2024-09-19 08:33:37 +08:00
2024-05-04 23:08:11 -07:00
2025-02-14 15:25:52 +08:00
2025-03-12 01:01:52 -04:00
2024-04-14 12:30:01 +02:00
2025-01-29 00:31:53 -03:00
2025-04-01 17:15:18 -03:00
2024-05-04 23:08:11 -07:00
2024-04-12 22:39:40 +08:00
2024-05-04 23:08:11 -07:00
2024-09-12 06:29:48 +08:00
2024-09-12 06:29:48 +08:00
2024-05-22 12:37:27 +08:00
2025-04-01 17:15:18 -03:00
2024-10-11 00:04:02 +08:00
2025-02-19 09:03:18 -08:00
2024-05-06 14:30:54 +07:00
2024-08-15 21:16:30 +02:00
2024-05-15 21:52:59 -04:00
2024-05-06 14:30:54 +07:00
2024-04-26 12:05:15 -04:00
2024-05-29 15:23:44 -03:00
2024-07-23 18:11:27 -05:00
2024-07-23 18:11:27 -05:00
2024-07-23 18:11:27 -05:00
2024-04-29 22:00:41 +08:00
2024-07-24 02:04:37 -07:00
2025-01-29 00:31:53 -03:00
2025-01-29 00:31:53 -03:00
2025-02-22 01:19:01 +08:00
2025-01-18 19:16:33 +01:00
2024-05-22 12:37:27 +08:00
2025-04-02 19:27:29 -03:00
2025-03-27 22:09:36 -03:00
2024-05-30 04:48:45 -03:00
2025-04-01 17:15:18 -03:00
2024-04-22 16:28:14 +02:00
2024-05-04 23:08:11 -07:00
2025-03-27 22:09:36 -03:00
2024-06-13 08:29:05 +02:00
2024-11-07 22:03:55 +00:00
2024-04-14 12:30:01 +02:00
2024-05-04 23:08:11 -07:00
2024-04-09 07:26:48 +00:00
2024-04-09 07:26:48 +00:00
2025-04-02 10:03:24 -07:00
2025-03-03 13:57:23 -08:00
2025-04-09 14:55:50 -07:00
2025-04-09 14:55:50 -07:00
2025-04-09 14:55:50 -07:00
2025-04-04 12:32:33 -07:00
2025-04-09 14:55:50 -07:00
2025-04-09 14:55:50 -07:00
2025-04-09 14:55:50 -07:00
2025-04-09 14:55:50 -07:00
2025-04-09 14:55:50 -07:00
2025-04-09 14:55:50 -07:00
2025-04-02 13:33:18 -07:00
2024-11-29 14:04:25 +08:00
2024-05-04 23:08:11 -07:00
2024-08-13 09:50:34 +08:00
2025-01-29 00:31:53 -03:00
2025-01-29 00:31:53 -03:00
2025-01-29 00:31:53 -03:00
2025-01-29 00:31:53 -03:00
2025-01-09 16:26:56 +01:00
2025-03-21 13:20:52 -03:00
2025-01-29 00:31:53 -03:00
2025-01-29 00:31:53 -03:00
2025-01-29 00:31:53 -03:00
2025-01-29 00:31:53 -03:00
2024-10-31 11:15:22 +00:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-04-22 14:42:57 -04:00
2024-05-04 23:08:11 -07:00
2025-02-27 11:34:16 -08:00
2025-02-19 09:03:18 -08:00
2024-05-17 12:06:34 +07:00
2024-05-29 15:23:44 -03:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-08-15 21:16:30 +02:00
2024-05-04 23:08:11 -07:00
2024-07-28 13:44:57 +03:00
2024-05-04 23:08:11 -07:00
2025-02-05 12:02:24 -03:00
2024-05-04 23:08:11 -07:00
2024-12-09 18:47:38 +02:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-10-02 01:54:29 +02:00
2024-05-03 10:23:53 -07:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-10-07 19:05:23 +02:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00