about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-10-23 22:11:03 +0200
committerGitHub <noreply@github.com>2024-10-23 22:11:03 +0200
commita144561608d73952011161f470de33e04d423d1d (patch)
tree8eae7ab332efa409c168aaee197d5532cf71556e /compiler/rustc_codegen_llvm/src
parent8af1851b0ac4caf4f996f968cd5d6cddebf1a56f (diff)
parent57bffe1d59cb6caa39c6ae5f5620c0cb371eea72 (diff)
downloadrust-a144561608d73952011161f470de33e04d423d1d.tar.gz
rust-a144561608d73952011161f470de33e04d423d1d.zip
Rollup merge of #131955 - SpriteOvO:riscv-int-arg-attr, r=workingjubilee
Set `signext` or `zeroext` for integer arguments on RISC-V and LoongArch64

This PR contains 3 commits:

- the first one introduces a new function `adjust_for_rust_abi` in `rustc_target`, and moves the x86 specific adjustment code into it;
- the second one adds RISC-V specific adjustment code into it, which sets `signext` or `zeroext` attribute for integer arguments.
- **UPDATE**: added the 3rd commit to apply the same adjustment for LoongArch64.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions