JIT: Use unsigned native return types for small structs (#86631)
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Tue, 23 May 2023 16:54:24 +0000 (18:54 +0200)
committerGitHub <noreply@github.com>
Tue, 23 May 2023 16:54:24 +0000 (18:54 +0200)
commit62609dc00da9c3ba1c2c5c1c1ff3af3fe6677104
tree887b1e97627c5d95fb381c179d33d6a45cee3d9f
parent927b6bd164271b9a3203dd8b4d9028654d3f2c63
JIT: Use unsigned native return types for small structs (#86631)

Prefer the return type to be unsigned when small structs are returned in
registers. This causes the backend to use zero extension instead of sign
extension in a few cases, which has a smaller encoding on xarch.
src/coreclr/jit/compiler.cpp