Skip to content

LLVM15 does not work for expressions (C lib) #616

Description

@FrancescAlted

The latest version of LLVM (15) has some issues when running the test suite:

TEST 168/551 delete:2_ui [OK]
TEST 169/551 expression_eval_double:iterblosc_constant [FAIL]
TEST 170/551 expression_eval_double:iterblosc_superchunk [FAIL]
TEST 171/551 expression_eval_double:iterblosc2_superchunk [FAIL]

The compile process is showing some hints on deprecated functions:

 /Users/faltet/iarray/iron-array/contribs/minjugg/src/minjugg.c:257:15: warning: 'LLVMBuildCall' is deprecated: Use LLVMBuildCall2 instead to support opaque pointers [-Wdeprecated-declarations]
         ret = LLVMBuildCall(e->builder, fun_decl, args, num_args, name);

 /Users/faltet/iarray/iron-array/contribs/minjugg/src/minjugg.c:569:32: warning: 'LLVMBuildStructGEP' is deprecated: Use LLVMBuildS
tructGEP2 instead to support opaque pointers [-Wdeprecated-declarations]
         LLVMValueRef ninputs = LLVMBuildStructGEP(e->builder, param_ptr, 0, "ninputs");
                                ^
-/Users/faltet/miniconda3/envs/iron-array-python/include/llvm-c/Core.h:3908:1: note: 'LLVMBuildStructGEP' has been explicitly marke
d deprecated here

 /Users/faltet/iarray/iron-array/contribs/minjugg/src/minjugg.c:573:31: warning: 'LLVMBuildLoad' is deprecated: Use LLVMBuildLoad2
instead to support opaque pointers [-Wdeprecated-declarations]
         LLVMValueRef inputs = LLVMBuildLoad(e->builder, inputs_ptr, "inputs");
                               ^
-/Users/faltet/miniconda3/envs/iron-array-python/include/llvm-c/Core.h:3891:1: note: 'LLVMBuildLoad' has been explicitly marked dep
recated here
+/Users/faltet/miniconda3/envs/iron-array-python/include/llvm-c/Core.h:3926:1: note: 'LLVMBuildLoad' has been explicitly marked dep
recated here

Maybe replacing the functions by the suggested ones would be enough?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions