Deric C.
27b3b4a665
[DirectX] Move the scalarizer pass to before dxil-flatten-arrays ( #146800 )
...
Fixes #145924 and #140416
Depends on #146173 being merged first.
This PR moves the scalarizer pass to immediately before the
dxil-flatten-arrays pass to allow the dxil-flatten-arrays pass to turn
scalar GEPs (including i8 GEPs) into flattened array GEPs where
applicable.
A number of LLVM DirectX CodeGen tests have been edited to remove scalar
GEPs and also correct previously uncaught incorrectly-transformed GEPs.
No more validation errors of the form `Access to out-of-bounds memory is
disallowed` or `TGSM pointers must originate from an unambiguous TGSM
global variable` appear anymore after this PR when compiling DML
shaders.
2025-07-14 18:13:42 -07:00
..
2025-05-30 13:22:25 -07:00
2025-06-30 16:32:43 -07:00
2025-07-09 12:02:02 -07:00
2025-05-30 10:01:57 -07:00
2025-05-27 22:57:01 -07:00
2025-05-29 11:44:34 -07:00
2025-05-27 22:57:01 -07:00
2025-07-11 12:26:53 -07:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-05-23 08:22:36 -07:00
2025-01-21 17:33:45 -08:00
2024-10-18 21:16:50 +01:00
2024-11-06 11:32:07 -08:00
2025-01-21 17:33:45 -08:00
2025-05-27 22:57:01 -07:00
2025-05-30 08:16:19 -07:00
2025-06-27 14:11:56 -04:00
2025-06-27 14:11:56 -04:00
2025-05-27 22:57:01 -07:00
2025-05-27 22:57:01 -07:00
2025-05-30 08:16:19 -07:00
2025-05-30 08:16:19 -07:00
2025-06-27 14:11:56 -04:00
2025-05-27 22:57:01 -07:00
2025-05-27 22:57:01 -07:00
2025-05-27 22:57:01 -07:00
2025-01-21 17:33:45 -08:00
2025-02-25 16:09:41 -05:00
2025-01-21 17:33:45 -08:00
2024-10-17 12:54:52 -06:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-05-27 22:57:01 -07:00
2025-05-27 22:57:01 -07:00
2025-03-16 09:47:48 +00:00
2024-10-10 16:34:26 -07:00
2024-11-14 23:34:07 -08:00
2025-02-25 16:09:41 -05:00
2025-04-14 10:34:15 -07:00
2025-04-14 10:34:15 -07:00
2025-04-14 10:34:15 -07:00
2025-04-14 10:34:15 -07:00
2025-05-17 10:38:24 -07:00
2025-05-17 10:38:24 -07:00
2025-05-17 10:38:24 -07:00
2025-05-17 10:38:24 -07:00
2024-11-06 11:32:07 -08:00
2025-01-21 17:33:45 -08:00
2025-04-14 10:34:15 -07:00
2025-07-07 10:50:43 -07:00
2024-12-02 12:08:14 -08:00
2025-06-16 16:44:55 -04:00
2025-06-16 16:44:55 -04:00
2025-06-24 12:00:21 -06:00
2025-01-15 15:36:50 -07:00
2025-06-24 12:00:21 -06:00
2024-11-06 07:31:39 -08:00
2024-11-06 07:31:39 -08:00
2025-07-14 16:39:01 -07:00
2025-07-14 16:39:01 -07:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2024-12-01 22:31:40 -08:00
2025-03-24 16:17:19 -07:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-05-08 09:13:26 -07:00
2025-05-20 10:26:58 -07:00
2025-06-25 17:17:52 -04:00
2025-05-22 10:43:00 -06:00
2025-04-17 09:02:05 -07:00
2025-04-29 16:07:44 -04:00
2025-06-04 15:31:15 -04:00
2025-03-17 20:33:02 -04:00
2025-06-04 21:28:43 -04:00
2025-07-08 14:45:14 -07:00
2025-07-11 12:26:53 -07:00
2025-05-19 09:34:58 -07:00
2025-04-30 17:09:28 -04:00
2024-10-02 15:55:40 -04:00
2025-07-14 18:13:42 -07:00
2025-07-14 18:13:42 -07:00
2024-11-13 16:36:24 -05:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2024-11-06 11:32:07 -08:00
2025-01-21 17:33:45 -08:00
2025-04-28 12:43:38 -07:00
2025-06-23 14:53:57 -07:00
2025-06-17 11:46:12 -07:00
2024-10-18 21:16:50 +01:00
2025-04-14 10:34:15 -07:00
2024-10-17 12:54:52 -06:00
2025-04-10 16:40:05 -04:00
2024-10-07 10:33:35 -07:00
2025-05-27 22:57:01 -07:00
2025-07-07 16:42:32 -07:00
2025-07-07 16:42:32 -07:00
2025-05-27 22:57:01 -07:00
2025-07-07 16:42:32 -07:00
2025-07-07 16:42:32 -07:00
2025-03-29 00:45:11 -04:00
2025-05-27 22:57:01 -07:00
2025-05-27 22:57:01 -07:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-04-08 08:54:10 +09:00
2025-07-14 16:39:01 -07:00
2024-11-13 16:36:24 -05:00
2024-12-18 16:33:49 -05:00
2025-07-14 18:13:42 -07:00
2025-07-14 16:39:01 -07:00
2025-06-20 11:20:30 -07:00
2025-03-17 20:33:02 -04:00
2024-10-02 15:55:40 -04:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2024-11-06 11:32:07 -08:00
2024-10-17 12:54:52 -06:00
2025-06-25 14:06:46 -07:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-03-05 17:04:10 -08:00
2025-03-05 17:04:10 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-04-21 10:26:27 -04:00
2025-04-11 14:32:44 -04:00
2024-12-17 17:32:50 -05:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-27 23:26:56 -08:00
2025-01-16 10:35:23 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00