[
https://issues.apache.org/jira/browse/IMPALA-7658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17173090#comment-17173090
]
Daniel Becker commented on IMPALA-7658:
---------------------------------------
I started implementing it but run into a problem. It seems LLVM jitting and
thread local storage don't work well together and be/src/util/jni-util.h uses
a thread local JNIEnv instance. Do you have any ideas?
LLVM thread local problem:
[http://clang-developers.42468.n3.nabble.com/lli-LLVM-ERROR-Cannot-select-X86ISD-WrapperRIP-TargetGlobalTLSAddress-i64-td4055237.html]
> Proper codegen for HiveUdfCall
> ------------------------------
>
> Key: IMPALA-7658
> URL: https://issues.apache.org/jira/browse/IMPALA-7658
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Reporter: Tim Armstrong
> Assignee: Daniel Becker
> Priority: Major
> Labels: codegen, performance
>
> This function uses GetCodegendComputeFnWrapper() to call the interpreted path
> but instead we could codegen the Evaluate() function to reduce the overhead.
> I think this is likely to be a little involved since there's a loop to
> unroll, so the solution might end up looking like IMPALA-5168
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]