about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-07-02 20:23:45 +0000
committerbors <bors@rust-lang.org>2015-07-02 20:23:45 +0000
commitb4abed64769ddc62198b044d7f7210bb38eda458 (patch)
treedef5a4ed06ff8727b1889a678498db1265f6bfbc /src/rustllvm/ExecutionEngineWrapper.cpp
parentfb379ef05cfdf5c61ec992c578682814c990b264 (diff)
parenta04784f7f9fd7f45a59d0d69de0f326881f55f43 (diff)
downloadrust-b4abed64769ddc62198b044d7f7210bb38eda458.tar.gz
rust-b4abed64769ddc62198b044d7f7210bb38eda458.zip
Auto merge of #26738 - dotdash:trans_args, r=luqmana
The current split between create_datums_for_fn_args, copy_args_to_allocas and
store_arg involves a detour via rvalue datums which cause additional work in
form of insertvalue/extractvalue pairs for fat pointer arguments, and an extra
alloca and memcpy for tupled args in rust-call functions.

By merging those three functions into just one that actually covers the whole
process of creating the final argument datums, we can skip all that.  Also,
this allows to easily merge in the handling of rust-call functions, allowing to
make create_datum_for_fn_args_under_call_abi obsolete.

cc #26600 -- The insertvalue instructions kicked us off of fast-isel.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions