Description
Ideally, the codegen templates for Literal should emit literals in the isNull and value fields of ExprCode so that they can be effectively inlined into their use sites.
But currently there are a couple of paths where Literal.doGenCode() return ExprCode that has non-trivial code field, and all of those are actually unnecessary.
We can make a simple refactoring to make sure all codegen templates for Literal return empty code and simple literal/constant expressions in isNull and value.