Browse Source

[ABI FIX] Fix 128-bit ABI issues

gingerBill 10 months ago
parent
commit
c305c9dd04
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/llvm_abi.cpp

+ 2 - 2
src/llvm_abi.cpp

@@ -622,9 +622,9 @@ namespace lbAbiAmd64SysV {
 		switch (kind) {
 		case LLVMIntegerTypeKind:
 			if (LLVM_VERSION_MAJOR >= 18 && sz >= 16) {
-				return false;
+				return true;
 			}
-			return true;
+			return false;
 		case LLVMHalfTypeKind:
 		case LLVMFloatTypeKind:
 		case LLVMDoubleTypeKind: