| commit | 0966dd0d69cf66bcba55a4b5d28b1059b5c9b6a6 | [log] [tgz] |
|---|---|---|
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | Wed Jul 17 20:22:44 2019 +0000 |
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Wed Jul 17 20:22:44 2019 +0000 |
| tree | 25ddf531da399645f72b5cd5812d5de582de2671 | |
| parent | 914a59cad825f322ef10273327e708fe5eb78283 [diff] |
GlobalISel: Handle widenScalar of arbitrary G_MERGE_VALUES sources Extract the sources to the GCD of the original size and target size, padding with implicit_def as necessary. Also fix the case where the requested source type is wider than the original result type. This was ignoring the type, and just using the destination. Do the operation in the requested type and truncate back. llvm-svn: 366367