about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-02-18 18:53:15 -0800
committerJubilee Young <workingjubilee@gmail.com>2025-02-20 19:55:29 -0800
commit5c474fd99b97b0d86d410dfe25b876b374b436fa (patch)
tree2973404d29f96d42eede1e7fc5b760a20121b5fd /tests/codegen/src-hash-algorithm
parentefff15afeabedacc2798d214dac404061df1555d (diff)
downloadrust-5c474fd99b97b0d86d410dfe25b876b374b436fa.tar.gz
rust-5c474fd99b97b0d86d410dfe25b876b374b436fa.zip
compiler: `BackendRepr::inherent_{size,align} -> scalar_{size,align}`
This pair of fn was introduced to perform invariant checks for scalars.
Their current behavior doesn't mesh as well with checking SIMD types,
so change the name of the fn to reflect their actual use-case and
refactor the corresponding checks.

Also simplify the returns from Option<AbiAndPrefAlign> to Option<Align>,
because every site was mapping away the "preferred" alignment anyways.
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions