If custom lowering of insert element fails, the result Val will be 0.