diff options
| author | David Wood <david.wood2@arm.com> | 2024-09-11 13:57:12 +0100 |
|---|---|---|
| committer | David Wood <david.wood2@arm.com> | 2024-09-24 15:48:49 +0100 |
| commit | 73c192b931c9c3587941574bbd03aae1b77e3d94 (patch) | |
| tree | 0ec8a23946de23b4347f3c1e3bbe75a61ab33617 /tests/codegen/patchable-function-entry | |
| parent | decad31d94428ae77c94c15295414060b7f542d8 (diff) | |
| download | rust-73c192b931c9c3587941574bbd03aae1b77e3d94.tar.gz rust-73c192b931c9c3587941574bbd03aae1b77e3d94.zip | |
codegen_ssa: consolidate tied feature checking
`rustc_codegen_llvm` and `rustc_codegen_gcc` duplicated logic for checking if tied target features were partially enabled. This commit consolidates these checks into `rustc_codegen_ssa` in the `codegen_fn_attrs` query, which also is run pre-monomorphisation for each function, which ensures that this check is run for unused functions, as would be expected.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
