Hocky Yudhiono
ed37bdcc3e
[mlir][func] Fix crashes in FuncToLLVM discardable attributes propagation logic ( #188232 )
...
Refactor how `func.func` discardable attributes are handled in the
Func-to-LLVM conversion. Instead of ad hoc checks for linkage and
readnone followed by a simple filter, the pass now generically processes
inherent attributes from LLVMFuncOp.
Attributes that correspond to inherent `llvm.func` ODS names can be
attached as `llvm.<name>` on `func.func` and are stripped to `<name>`
when building `LLVM::LLVMFuncOp`, so LLVM-specific knobs stay namespaced
on the source op but land on the right inherent slots on `llvm.func`.
Other discardable attributes continue to be propagated as-is.
Fixes #175959
Fixes #181464
Assisted-by: CLion code completion, GPT 5.3-Codex
---------
Co-authored-by: Mehdi Amini <joker.eph@gmail.com>
2026-03-26 11:12:10 +00:00
..
2026-01-26 15:24:39 -08:00
2026-03-11 13:43:55 +01:00
2026-03-25 15:27:43 -04:00
2026-03-10 22:31:15 +00:00
2026-03-05 09:59:20 -03:00
2025-05-29 13:42:57 -07:00
2025-09-19 01:36:13 +00:00
2025-05-09 12:19:53 +01:00
2025-05-09 12:19:53 +01:00
2026-03-24 13:40:35 +00:00
2026-03-24 13:40:35 +00:00
2025-09-03 17:25:27 +02:00
2025-09-03 17:25:27 +02:00
2025-09-03 17:25:27 +02:00
2025-10-24 21:05:47 +02:00
2025-05-09 12:19:53 +01:00
2025-05-09 12:19:53 +01:00
2025-11-20 14:28:56 +00:00
2026-03-24 13:40:35 +00:00
2026-03-24 13:40:35 +00:00
2025-05-09 12:19:53 +01:00
2025-11-14 12:57:05 +01:00
2025-11-12 10:21:32 +00:00
2026-02-28 01:45:52 +08:00
2025-12-01 20:53:44 -05:00
2025-05-09 12:19:53 +01:00
2026-03-24 13:40:35 +00:00
2026-02-20 21:23:01 +00:00
2026-03-24 13:40:35 +00:00
2026-01-19 17:16:11 +00:00
2026-03-24 13:40:35 +00:00
2025-12-01 20:53:44 -05:00
2025-12-01 20:53:44 -05:00
2025-12-01 20:53:44 -05:00
2025-05-09 12:19:53 +01:00
2026-01-19 17:16:11 +00:00
2026-03-24 13:40:35 +00:00
2026-03-24 13:40:35 +00:00
2026-03-24 13:40:35 +00:00
2025-10-03 10:08:35 +01:00
2025-07-03 10:38:28 +01:00
2025-07-03 10:38:28 +01:00
2026-03-24 13:40:35 +00:00
2026-03-24 13:40:35 +00:00
2025-10-01 09:05:37 +01:00
2025-09-30 14:35:33 +01:00
2025-10-01 09:05:37 +01:00
2026-01-19 17:16:11 +00:00
2025-05-09 12:19:53 +01:00
2025-05-09 12:19:53 +01:00
2026-03-24 13:40:35 +00:00
2025-05-13 16:17:49 +01:00
2025-12-31 10:08:32 -08:00
2025-08-26 06:11:15 +02:00
2025-12-30 10:27:31 -08:00
2025-12-30 10:27:31 -08:00
2025-09-03 15:51:23 -03:00
2025-07-23 13:25:43 -04:00
2025-05-29 13:42:57 -07:00
2025-05-29 13:42:57 -07:00
2025-02-28 05:46:03 +01:00
2025-02-21 16:26:19 +01:00
2026-02-05 16:22:30 -08:00
2025-03-31 11:41:43 -07:00
2025-02-05 18:24:47 +00:00
2025-04-10 18:41:54 -07:00
2025-04-10 18:41:54 -07:00
2025-12-31 11:26:17 -08:00
2025-08-15 15:41:41 +01:00
2026-01-21 13:22:45 +01:00
2026-01-09 15:15:10 +01:00
2026-03-09 15:55:53 +01:00
2025-11-24 21:22:49 +01:00
2025-11-12 10:56:50 -06:00
2025-08-12 13:13:10 -07:00
2026-03-23 11:50:48 -04:00
2025-04-01 08:41:11 -07:00
2025-04-17 11:46:06 -07:00
2025-03-18 14:07:41 +01:00
2025-08-08 11:09:34 +02:00
2025-11-10 17:33:43 -05:00
2025-12-11 10:03:43 +00:00
2025-12-11 10:03:43 +00:00
2025-12-11 10:03:43 +00:00
2026-01-10 19:33:30 -05:00
2025-09-04 15:49:38 -07:00
2025-12-11 10:03:43 +00:00
2025-12-11 10:03:43 +00:00
2025-09-04 15:49:38 -07:00
2026-01-27 15:25:21 +01:00
2026-01-27 15:25:21 +01:00
2025-12-11 10:03:43 +00:00
2025-09-04 15:49:38 -07:00
2026-03-23 11:50:48 -04:00
2026-03-26 11:12:10 +00:00