[SelectionDAG] Don't allow type legalization to create noop VP_TRUNCATE.
Type legalization may need to promote the result to the same type as the input. Instead of forming a vp_truncate with the same source and dest type, don't create any vp_truncate. Handling in getNode like is done for ISD::TRUNCATE.
Loading
Please sign in to comment