1
Fork 0
rust/compiler/rustc_target/src
Nikita Popov 1b7342b411 force_array -> is_consecutive
The actual ABI implication here is that in some cases the values
are required to be "consecutive", i.e. must either all be passed
in registers or all on stack (without padding).

Adjust the code to either use Uniform::new() or Uniform::consecutive()
depending on which behavior is needed.

Then, when lowering this in LLVM, skip the [1 x i128] to i128
simplification if is_consecutive is set. i128 is the only case
I'm aware of where this is problematic right now. If we find
other cases, we can extend this (either based on target information
or possibly just by not simplifying for is_consecutive entirely).
2024-04-08 11:31:43 +09:00
..
abi force_array -> is_consecutive 2024-04-08 11:31:43 +09:00
asm Improve style 2024-03-13 19:20:49 -04:00
spec Rollup merge of #123446 - crazytonyli:fix-watchos-llvm-target, r=estebank 2024-04-07 09:17:15 +02:00
json.rs Add metadata to targets 2024-03-10 20:46:08 +01:00
lib.rs step cfgs 2024-03-20 08:49:13 -04:00
target_features.rs Auto merge of #119199 - dpaoliello:arm64ec, r=petrochenkov 2024-03-07 20:18:54 +00:00
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00