Emit constants properly in IR target