Function call support#477
Conversation
|
Can one of the admins verify this patch? |
pramodk
left a comment
There was a problem hiding this comment.
nice! LGTM!
About Jenkins CI failure:
default — Build finished.
I am taking a look at this on internal CI node. There is some weird linker issue with Intel compiler. I will try to fix this by tomorrow otherwise we can merge this.
|
|
||
| // Process each argument and add it to a vector to pass to the function call instruction. Note | ||
| // that type checks are not needed here as NMODL operates on doubles by default. If that was not | ||
| // the case, cast instructions had to be created. |
There was a problem hiding this comment.
If that was not the case, cast instructions had to be created.
this won't be required, at DSL level we will make sure to have correct types.
@georgemitenkov : to fix Jenkins build issue, you have to do small change: The reason for this is that llvm_codegen library has dependency with codegen library (for CodegenHelperVisitor) and hence that needs to be linked after llvm_codegen (as we are building all static libraries). This error appears with Intel compiler (only) that we use under Jernkins CI. By the way, I assume I mentioned previously how to check Jenkins CI logs. If not, here is summary :
|
This patch adds support for function call code generation, particularly: - User-defined procedures and functions can now lowered to LLVM IR. - A framework for external method calls (e.g. sin, exp, etc.) has been created, currently `exp` and `pow` are supported. - Corresponding tests added. fixes #472
This patch adds support for function call code generation, particularly: - User-defined procedures and functions can now lowered to LLVM IR. - A framework for external method calls (e.g. sin, exp, etc.) has been created, currently `exp` and `pow` are supported. - Corresponding tests added. fixes #472
This patch adds support for function call code generation, particularly: - User-defined procedures and functions can now lowered to LLVM IR. - A framework for external method calls (e.g. sin, exp, etc.) has been created, currently `exp` and `pow` are supported. - Corresponding tests added. fixes #472
This patch adds support for function call code generation, particularly: - User-defined procedures and functions can now lowered to LLVM IR. - A framework for external method calls (e.g. sin, exp, etc.) has been created, currently `exp` and `pow` are supported. - Corresponding tests added. fixes #472
This patch adds support for function call code generation, particularly: - User-defined procedures and functions can now lowered to LLVM IR. - A framework for external method calls (e.g. sin, exp, etc.) has been created, currently `exp` and `pow` are supported. - Corresponding tests added. fixes #472
This patch adds support for function call code generation, particularly: - User-defined procedures and functions can now lowered to LLVM IR. - A framework for external method calls (e.g. sin, exp, etc.) has been created, currently `exp` and `pow` are supported. - Corresponding tests added. fixes #472





This patch introduces support for function call code generation, particularly:
expandpowhas been addedAdded corresponding tests.
fixes #472