mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix unavailable LLVM int128 alignment.
This commit is contained in:
@@ -1580,7 +1580,7 @@ static AlignData os_target_alignment_of_int(OsType os, ArchType arch, uint32_t b
|
||||
case ARCH_TYPE_XTENSA:
|
||||
return (AlignData) { MIN(64u, bits), MIN(64u, bits) };
|
||||
case ARCH_TYPE_X86_64:
|
||||
#if !LLVM_AVAILABLE || LLVM_VERSION_MAJOR < 18
|
||||
#if LLVM_AVAILABLE && LLVM_VERSION_MAJOR < 18
|
||||
return (AlignData) { MIN(64u, bits), MIN(64u, bits) };
|
||||
#else
|
||||
FALLTHROUGH;
|
||||
|
||||
Reference in New Issue
Block a user