diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-07-17 20:22:44 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-07-17 20:22:44 +0000 |
commit | 0966dd0d69cf66bcba55a4b5d28b1059b5c9b6a6 (patch) | |
tree | 25ddf531da399645f72b5cd5812d5de582de2671 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | 914a59cad825f322ef10273327e708fe5eb78283 (diff) | |
download | bcm5719-llvm-0966dd0d69cf66bcba55a4b5d28b1059b5c9b6a6.tar.gz bcm5719-llvm-0966dd0d69cf66bcba55a4b5d28b1059b5c9b6a6.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions