about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorDavid Wood <david.wood2@arm.com>2024-09-11 13:57:12 +0100
committerDavid Wood <david.wood2@arm.com>2024-09-24 15:48:49 +0100
commit73c192b931c9c3587941574bbd03aae1b77e3d94 (patch)
tree0ec8a23946de23b4347f3c1e3bbe75a61ab33617 /tests/codegen/patchable-function-entry
parentdecad31d94428ae77c94c15295414060b7f542d8 (diff)
downloadrust-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