No need to go through int64 and APInt when generating a new constant.