diff options
| author | Laytan <laytanlaats@hotmail.com> | 2025-08-01 19:18:43 +0200 |
|---|---|---|
| committer | Laytan <laytanlaats@hotmail.com> | 2025-08-01 19:18:43 +0200 |
| commit | d0890c2135f236395cf4a412c6e36f48db77cce9 (patch) | |
| tree | bfff7825f6974d570b3faaf2329438dcdcbf3520 /src/llvm_abi.cpp | |
| parent | 3eb9c5fa6594b72647ce2539d8e13e8d51156bd0 (diff) | |
fix dropping part of particular vecs
Diffstat (limited to 'src/llvm_abi.cpp')
| -rw-r--r-- | src/llvm_abi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_abi.cpp b/src/llvm_abi.cpp index b6ed395d9..8dbb8fa76 100644 --- a/src/llvm_abi.cpp +++ b/src/llvm_abi.cpp @@ -1028,7 +1028,7 @@ namespace lbAbiAmd64SysV { unify(cls, ix + off/8, RegClass_Int); break; case LLVMHalfTypeKind: - unify(cls, ix + off/8, (off%8 == 6) ? RegClass_SSEHv : RegClass_SSEHs); + unify(cls, ix + off/8, (off%8 != 0) ? RegClass_SSEHv : RegClass_SSEHs); break; case LLVMFloatTypeKind: unify(cls, ix + off/8, (off%8 == 4) ? RegClass_SSEFv : RegClass_SSEFs); |