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:
|