aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_abi.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-03-02 00:43:25 +0000
committergingerBill <bill@gingerbill.org>2021-03-02 00:43:25 +0000
commit2a1bec9fbb54a1fe4a6e817bff3b39fdb1457055 (patch)
tree57b56cb937436a2bd461fdfd7dde8c85a4d1b2fe /src/llvm_abi.cpp
parent6faf024ab49c35d3f0730769664266e42cc9d88c (diff)
Clean up `lb_end_procedure_body` logic
Diffstat (limited to 'src/llvm_abi.cpp')
-rw-r--r--src/llvm_abi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_abi.cpp b/src/llvm_abi.cpp
index f7891735d..217e00a2e 100644
--- a/src/llvm_abi.cpp
+++ b/src/llvm_abi.cpp
@@ -403,7 +403,7 @@ namespace lbAbi386 {
// TODO(bill): LLVM is probably bugged here and doesn't correctly generate the right code
// So even though it is "technically" wrong, no cast might be the best option
LLVMTypeRef cast_type = nullptr;
- if (!is_return) {
+ if (true || !is_return) {
cast_type = LLVMVectorType(LLVMInt64TypeInContext(c), 2);
}
return lb_arg_type_direct(type, cast_type, nullptr, nullptr);