Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[X86] Check destination element type before forming VTRUNCS/VTRUNCUS …
…in combineTruncateWithSat. Fixes crash reported here https://reviews.llvm.org/D73607 Using a store to keep the trunc intact. Returning v16i24 would cause the trunc to be optimized away in SelectionDAGBuilder. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D103940
- Loading branch information