[ARM][AArch64] Use SelectionDAG::SplitScalar to simplify some code. (#74411)
We know we're splitting a type in half to two legal values. Instead of using shift and truncate that need to be legalized, we can use two ISD::EXTRACT_ELEMENTs. Spotted while reviewing #67918 for RISC-V which copied this code.
Loading
Please sign in to comment