Support hoisting of constant sub-expr