From ab6d3860de971ef67c1e78a7bb5f29841d508f0a Mon Sep 17 00:00:00 2001 From: Elliott Slaughter Date: Mon, 18 Sep 2023 13:17:32 -0700 Subject: [PATCH] Fix for LLVM 15 build. --- src/tcompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcompiler.cpp b/src/tcompiler.cpp index 7d9b57a7..141cfc8e 100644 --- a/src/tcompiler.cpp +++ b/src/tcompiler.cpp @@ -2512,7 +2512,7 @@ struct FunctionEmitter { // perform the copy Value *m = B->CreateMemCpy(addr_dst, a1, addr_src, MaybeAlign( -#if LLVM_VERSION < 170 +#if LLVM_VERSION < 150 l->getAlignment() #else l->getAlign()