aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-10-22 22:00:59 +0300
committerVeikka Tuominen <git@vexu.eu>2022-10-22 22:00:59 +0300
commitf2a7aba586157482131611c57a283f3b4cfee98d (patch)
tree9885b007a1e1c7ccfd1d8ea3f21e106fd0a952e4 /src/codegen/llvm.zig
parentbe10f95994d077f9b8137bb58d0349f78f408219 (diff)
downloadzig-f2a7aba586157482131611c57a283f3b4cfee98d.tar.gz
zig-f2a7aba586157482131611c57a283f3b4cfee98d.zip
x86_64 llvm: correct lowering of ptr sized float struct
Closes #13211
Diffstat (limited to 'src/codegen/llvm.zig')
-rw-r--r--src/codegen/llvm.zig5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig
index 8b10895068..129d4581b7 100644
--- a/src/codegen/llvm.zig
+++ b/src/codegen/llvm.zig
@@ -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;