Skip to content

Commit

Permalink
Limited to little endian target
Browse files Browse the repository at this point in the history
  • Loading branch information
bzEq committed Apr 8, 2024
1 parent a2c72ce commit d8d1e6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/codegen/issues/issue-122805.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// CHECK-NEXT: store <8 x i16>
// CHECK-NEXT: ret void
#[no_mangle]
#[cfg(target_endian = "little")]
pub fn convert(value: [u16; 8]) -> [u8; 16] {
let addr16 = [
value[0].to_be(),
Expand Down

0 comments on commit d8d1e6c

Please sign in to comment.