File: Remove-LLVMX86_MMXTypeKind-in-LLVM-20.patch

package info (click to toggle)
wasmedge 0.14.1%2Bdfsg-3.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,872 kB
  • sloc: cpp: 133,470; asm: 26,333; ansic: 12,397; java: 2,553; sh: 2,086; javascript: 1,440; python: 1,330; pascal: 897; xml: 681; makefile: 100
file content (18 lines) | stat: -rw-r--r-- 574 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: [LLVM] LLVMX86_MMXTypeKind is removed in LLVM20
Author: hydai <z54981220@gmail.com>
Origin: upstream, https://github.com/WasmEdge/WasmEdge/commit/b63e201d46452453ee7c2acf07967cd292d7e3da

Signed-off-by: Destiny Mora <destiny.mora4@gmail.com>
--- a/lib/llvm/llvm.h
+++ b/lib/llvm/llvm.h
@@ -549,8 +549,10 @@
       return 128;
     case LLVMPPC_FP128TypeKind:
       return 128;
+#if LLVM_VERSION_MAJOR < 20
     case LLVMX86_MMXTypeKind:
       return 64;
+#endif
     case LLVMIntegerTypeKind:
       return getIntegerBitWidth();
     case LLVMVectorTypeKind: