]> git.lizzy.rs Git - rust.git/commit
Don't force many scalar pair values to the stack in write_cvalue_maybe_transmute
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>
Wed, 1 Feb 2023 13:55:28 +0000 (13:55 +0000)
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>
Wed, 1 Feb 2023 13:55:28 +0000 (13:55 +0000)
commitdf04fd6fba2e1b2b85a108e3ec7e56c731456ba9
tree28af2041f265868ec36fa0ae513fbb09f02bf83a
parent79f4cc0822578199fa9ffee6f0abf909b8976ab9
Don't force many scalar pair values to the stack in write_cvalue_maybe_transmute

Sometimes it is necessary for handling vector to scalar pair transmutes,
but if the types are the same there is no need for this.

This improves runtime performance on simple-raytracer by 12%.
src/abi/comments.rs
src/value_and_place.rs