Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Later
-
Impala 2.6.0
-
None
Description
We currently have two similar way to replace constants in codegen'd code: Expr::GetConstant() and LlvmCodeGen::ReplaceCallSitesWithBoolConst(). We should merge them so that we have a single mechanism with the functionality of both.
E.g.
A version that takes a map where the key is a symbol and the value is a constant, or a vector of constants:
ReplaceCallSitesWithConstants(Function* map, <string, ConstantInfo>*)
We could then avoid the expensive Expr::GetConstant() call on the interpreted path.
Attachments
Issue Links
- blocks
-
IMPALA-4785 Constant from GetIntermediateType() are not propagated when codegen'ing aggregate functions
- Open
-
IMPALA-3636 Regression in DecimalOperators::EQ with codegen disabled
- Resolved