about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorwinstonallo <arthurbiedchar@gmail.com>2025-08-13 08:51:58 +0200
committerwinstonallo <arthurbiedchar@gmail.com>2025-08-13 17:37:30 +0200
commit04ff1444bb89379d7489bda9edc65ebaae4db037 (patch)
tree292828e647ce5f789bd533e88c327c6e60f3808b /compiler/rustc_codegen_llvm/src/builder.rs
parenta1531335fe2807715fff569904d99602022643a7 (diff)
downloadrust-04ff1444bb89379d7489bda9edc65ebaae4db037.tar.gz
rust-04ff1444bb89379d7489bda9edc65ebaae4db037.zip
Set NumRegisterParameters LLVM module flag to `N` when `-Zregparm=N` is
set

* Enforce the `-Zregparm=N` flag by setting the NumRegisterParameters
LLVM module flag * Add assembly tests verifying that the parameters are
passed in registers for reparm values 1, 2, and 3, for both LLVM
intrinsics and non-builtin functions * Add c_void type to minicore
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions