Skip to content

Commit

Permalink
Fix for LLVM 15 build.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Sep 18, 2023
1 parent 94446cc commit ab6d386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ab6d386

Please sign in to comment.