Update submodule + fix compile error

This commit is contained in:
Robert Schulze 2022-09-29 20:51:36 +00:00
parent f38d71aac9
commit 4ac308a7a6
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
2 changed files with 8 additions and 17 deletions

@ -1 +1 @@
Subproject commit c442a1947ddd1dd75d80a1495794b4538cc65258
Subproject commit dc972a767ff2e9488d96cb2a6e67de160fbe15a7

View File

@ -873,15 +873,10 @@ CompiledSortDescriptionFunction compileSortDescription(
auto * lhs_column_data = b.CreatePointerCast(b.CreateExtractValue(lhs_column, {0}), column_native_type_pointer);
auto * lhs_column_null_data = column_type_is_nullable ? b.CreateExtractValue(lhs_column, {1}) : nullptr;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
auto * ty_lhs_column_data = llvm::cast<llvm::PointerType>(lhs_column_data->getType()->getScalarType())->getElementType();
llvm::Value * lhs_value = b.CreateLoad(b.CreateInBoundsGEP(ty_lhs_column_data, lhs_column_data, lhs_index_arg));
#ifdef __clang__
#pragma clang diagnostic pop
#endif
llvm::Value * lhs_cip_gep = b.CreateInBoundsGEP(ty_lhs_column_data, lhs_column_data, lhs_index_arg);
llvm::Value * lhs_value = b.CreateLoad(lhs_cip_gep->getType()->getPointerElementType(), lhs_cip_gep);
if (lhs_column_null_data)
{
@ -896,15 +891,11 @@ CompiledSortDescriptionFunction compileSortDescription(
auto * rhs_column_data = b.CreatePointerCast(b.CreateExtractValue(rhs_column, {0}), column_native_type_pointer);
auto * rhs_column_null_data = column_type_is_nullable ? b.CreateExtractValue(rhs_column, {1}) : nullptr;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
auto * ty_rhs_column_data = llvm::cast<llvm::PointerType>(rhs_column_data->getType()->getScalarType())->getElementType();
llvm::Value * rhs_value = b.CreateLoad(b.CreateInBoundsGEP(ty_rhs_column_data, rhs_column_data, rhs_index_arg));
#ifdef __clang__
#pragma clang diagnostic pop
#endif
llvm::Value * rhs_cip_gep = b.CreateInBoundsGEP(ty_rhs_column_data, rhs_column_data, rhs_index_arg);
llvm::Value * rhs_value = b.CreateLoad(rhs_cip_gep->getType()->getPointerElementType(), rhs_cip_gep);
if (rhs_column_null_data)
{
auto * ty_rhs_column_null_data = llvm::cast<llvm::PointerType>(rhs_column_null_data->getType()->getScalarType())->getElementType();