summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-07-17 20:22:38 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-07-17 20:22:38 +0000
commit914a59cad825f322ef10273327e708fe5eb78283 (patch)
tree3878f684cc227582940e418b011b91d36c98c347 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
parenta0858e2f20c84df1be9d0add9b726996bbe395a4 (diff)
downloadbcm5719-llvm-914a59cad825f322ef10273327e708fe5eb78283.tar.gz
bcm5719-llvm-914a59cad825f322ef10273327e708fe5eb78283.zip
GlobalISel: Handle more cases for widenScalar of G_MERGE_VALUES
Use an anyext to the requested type for the leftover operand to produce a slightly wider type, and then truncate the final merge. I have another implementation almost ready which handles arbitrary widens, but I think it produces worse code in this example (which I think is 90% due to not folding redundant copies or folding out implicit_def users), so I wanted to add this as a baseline first. llvm-svn: 366366
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud