Use legalizeOperand for cast lowering