about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
diff options
context:
space:
mode:
authorDylan McKay <me@dylanmckay.io>2020-05-17 16:36:23 +1200
committerDylan McKay <me@dylanmckay.io>2020-06-09 17:41:04 +1200
commit0340359b2a3e9af1cd94cbf7831f8b77b9bf77a1 (patch)
treeef9e4760ac137c6bf453f9d3270b2c92b43d0bf7 /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
parent1f0652ff67dc477227b48a3ccb3d398e0c492909 (diff)
downloadrust-0340359b2a3e9af1cd94cbf7831f8b77b9bf77a1.tar.gz
rust-0340359b2a3e9af1cd94cbf7831f8b77b9bf77a1.zip
[AVR] Update ABI type classification logic to match the the AVR-Clang ABI
This patch brings the AVR calling convention argument classification
logic in line with AVR Clang's behaviour.

AVR-Clang currently uses the `clang::DefaultABIInfo` ABI implementation.
This calling convention promotes all aggregates to indirect, no matter their
size.

It is also unnecessary to perform any integer width extension for AVR as
the minimum argument size matches the minimum describable size of
abi::Primitive::Int - 8 bits.

At some point in the future, an AVR-GCC compatible argument
classification implementation should be adopted in both Clang and Rust.
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions