Michael Smith created IMPALA-12314:
--------------------------------------
Summary: Revisit pre-compiled IR at O1
Key: IMPALA-12314
URL: https://issues.apache.org/jira/browse/IMPALA-12314
Project: IMPALA
Issue Type: Improvement
Components: Backend
Reporter: Michael Smith
>From https://github.com/apache/impala/blob/4.2.0/be/CMakeLists.txt#L298-L300
{quote}
We enable basic optimizations (-O1) to reduce the IR size and speed up runtime
JIT. Empirically, the runtime JIT produces slightly better code when starting
with IR that was optimized at -O1. Higher optimization levels tend to bloat the
code.
{quote}
This evaluation was done with LLVM 3.3. We're now on LLVM 5, and this
evaluation may no longer hold. Revisit whether this makes sense or whether
another option (O2, Os, O3) may make more sense.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)