fix potential inconsistent register type for dx optimiser.