x86_64 llvm: correct lowering of ptr sized float struct

Closes #13211
This commit is contained in:
Veikka Tuominen
2022-10-22 22:00:59 +03:00
parent be10f95994
commit f2a7aba586
4 changed files with 31 additions and 6 deletions

View File

@@ -10432,11 +10432,6 @@ const ParamTypeIterator = struct {
it.llvm_index += 1;
return .abi_sized_int;
}
if (classes[0] == .sse and classes[1] == .none) {
it.zig_index += 1;
it.llvm_index += 1;
return .byval;
}
it.llvm_types_buffer = llvm_types_buffer;
it.llvm_types_len = llvm_types_index;
it.llvm_index += llvm_types_index;