Jonathan Brouwer
66a00ba2ef
Rollup merge of #153995 - Flakebi:gpu-use-convergent, r=nnethercote
...
Use convergent attribute to funcs for GPU targets
On targets with convergent operations, we need to add the convergent attribute to all functions that run convergent operations. Following clang, we can conservatively apply the attribute to all functions when compiling for such a target and rely on LLVM optimizing away the attribute in cases where it is not necessary.
This affects the amdgpu and nvptx targets.
cc @kjetilkjeka, @kulst for nvptx
cc @ZuseZ4
r? @nnethercote, as you already reviewed this in the other PR
Split out from rust-lang/rust#149637 , the part here should be uncontroversial.
2026-04-08 14:21:57 +02:00
..
2025-11-06 15:39:45 -08:00
2025-12-05 08:37:22 -06:00
2026-03-02 23:30:45 -05:00
2025-11-08 10:57:35 -07:00
2025-11-02 16:20:06 +01:00
2026-03-12 16:45:42 -07:00
2025-11-02 16:20:06 +01:00
2025-12-18 19:12:09 -05:00
2026-03-12 16:45:42 -07:00
2026-03-08 10:22:26 -03:00
2026-03-03 11:52:01 +01:00
2026-01-26 13:43:06 -06:00
2026-01-12 11:03:07 +01:00
2026-02-17 20:16:29 +00:00
2026-03-13 10:17:20 -04:00
2026-03-12 16:45:42 -07:00
2026-01-20 16:26:15 +08:00
2026-01-25 16:27:23 +01:00
2025-11-02 16:20:06 +01:00
2025-11-19 11:55:09 +00:00
2026-01-13 15:21:20 +00:00
2025-11-02 16:20:06 +01:00
2026-03-12 16:45:42 -07:00
2026-03-17 20:24:05 +00:00
2026-04-03 10:37:42 +00:00
2026-02-03 22:44:44 +01:00
2026-03-18 15:17:56 +01:00
2025-09-11 16:13:32 -07:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2026-01-26 12:43:52 +00:00
2025-11-02 16:20:06 +01:00
2026-02-27 12:08:59 -08:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2026-01-21 23:39:03 +00:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-20 19:23:10 +01:00
2026-02-09 15:53:38 -05:00
2025-09-09 21:54:54 +02:00
2026-01-20 14:47:04 +01:00
2026-01-09 10:41:37 +01:00
2026-03-13 11:54:06 +00:00
2026-04-03 22:31:45 +00:00
2025-11-19 11:55:09 +00:00
2025-08-15 16:42:21 +00:00
2025-09-01 13:45:00 +07:00
2025-08-15 16:56:11 +00:00
2026-02-12 09:58:25 +01:00
2025-07-26 01:02:29 +02:00
2026-02-02 18:45:26 -05:00
2025-11-19 11:55:09 +00:00
2025-08-21 11:07:25 +01:00
2025-08-01 18:38:22 +01:00
2026-02-14 01:39:16 -08:00
2025-10-13 16:52:12 +00:00
2026-02-25 21:31:51 +08:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2026-02-10 12:39:45 +01:00
2025-11-21 18:48:04 +08:00
2025-11-21 13:04:48 -06:00
2025-11-19 13:19:22 +04:00
2025-07-29 11:20:23 -07:00
2025-11-19 11:55:09 +00:00
2025-10-10 20:14:23 -04:00
2025-09-16 11:49:20 -07:00
2025-09-16 11:49:20 -07:00
2025-07-23 11:23:36 +00:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-09-13 16:06:22 -07:00
2026-03-12 16:45:42 -07:00
2025-10-02 14:55:50 +08:00
2025-07-27 14:42:07 +03:00
2026-02-27 12:08:59 -08:00
2026-03-12 16:45:42 -07:00
2025-11-02 16:20:06 +01:00
2025-09-05 20:44:49 -04:00
2026-01-20 16:26:15 +08:00
2025-07-29 18:59:09 +02:00
2026-02-20 20:22:31 -08:00
2025-07-29 11:20:23 -07:00
2025-12-03 14:34:07 -08:00
2025-10-23 00:38:28 +00:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2026-03-29 02:11:32 -05:00
2026-03-05 11:53:38 +01:00
2025-11-02 16:20:06 +01:00
2025-08-06 18:01:07 +00:00
2026-03-13 10:17:20 -04:00
2025-09-23 10:21:17 +02:00
2026-03-17 10:51:31 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-26 13:31:26 +00:00
2026-03-09 09:18:23 +00:00
2025-10-10 20:14:23 -04:00
2025-09-16 11:49:20 -07:00
2025-08-21 11:07:25 +01:00
2025-09-21 20:37:51 -04:00
2026-03-02 15:18:55 +01:00
2025-08-11 22:00:41 +00:00
2026-02-24 08:33:15 +00:00
2026-03-05 11:53:38 +01:00
2025-11-23 08:23:49 -05:00
2025-11-02 16:20:06 +01:00
2025-11-19 11:55:09 +00:00
2025-11-03 08:12:16 -06:00
2025-11-21 13:04:48 -06:00
2026-03-12 16:45:42 -07:00
2026-02-11 20:42:35 -06:00
2026-03-31 09:06:31 +02:00
2025-09-23 10:59:29 +00:00
2025-11-02 16:20:06 +01:00
2025-11-19 11:55:09 +00:00
2026-01-24 19:23:17 +02:00
2026-04-03 03:22:19 +02:00
2026-03-13 10:17:20 -04:00
2025-10-31 16:12:30 -07:00
2026-03-12 16:45:42 -07:00
2026-03-07 10:42:02 -08:00
2025-11-02 16:20:06 +01:00
2025-08-18 19:37:13 +00:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-11-06 12:49:48 +01:00
2026-01-05 05:17:56 +09:00
2025-10-31 16:12:30 -07:00
2025-11-21 13:04:48 -06:00
2025-11-21 13:04:48 -06:00
2025-12-21 00:58:00 +00:00
2026-03-13 10:17:20 -04:00
2025-09-16 11:49:20 -07:00
2025-10-31 16:12:30 -07:00
2026-03-12 16:45:42 -07:00
2025-10-31 16:12:30 -07:00
2025-08-21 11:07:25 +01:00
2026-02-02 16:47:09 +05:30
2025-11-02 16:20:06 +01:00
2025-12-31 15:22:07 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2026-03-12 16:45:42 -07:00
2025-09-16 11:49:20 -07:00
2026-02-27 10:51:55 +01:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2026-04-01 21:29:42 -05:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-09-16 11:49:20 -07:00
2025-07-29 11:20:23 -07:00
2025-11-19 13:19:22 +04:00
2025-08-18 19:37:13 +00:00
2025-11-23 08:23:49 -05:00
2026-03-05 11:53:38 +01:00
2025-09-11 16:13:32 -07:00
2025-09-26 13:32:03 -04:00
2026-03-12 16:45:42 -07:00
2026-03-03 19:46:06 -08:00
2025-09-26 13:32:03 -04:00
2025-11-21 13:04:48 -06:00
2026-03-05 11:53:38 +01:00
2025-10-30 15:13:32 +03:00