aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDominik Montada <dominik.montada@hightec-rt.com>2020-03-20 14:46:01 +0100
committerDominik Montada <dominik.montada@hightec-rt.com>2020-03-23 09:16:45 +0100
commitccf49b9ef012bab44b1f1322223e8b2e5ca89bad (patch)
tree3c7799441cdd04ccb553421c1ae2633e55007570 /llvm/lib/CodeGen/MachineFunction.cpp
parent0cc124c186a5211ae5a734fe7708d61b5a150bc2 (diff)
downloadllvm-ccf49b9ef012bab44b1f1322223e8b2e5ca89bad.zip
llvm-ccf49b9ef012bab44b1f1322223e8b2e5ca89bad.tar.gz
llvm-ccf49b9ef012bab44b1f1322223e8b2e5ca89bad.tar.bz2
[GlobalISel] support widen unmerge if WideTy > SrcTy
Summary: Widening G_UNMERGE_VALUES to a type which is larger than the original source type is the same as widening it to the same type as the source type: in both cases, G_UNMERGE_VALUES has to be replaced with bit arithmetic which. Although the arithmetic itself is independent of whether the source type is smaller or equal to the widen type, widening the source type to the widen type should result in less artifacts being emitted, since this is the type that the user explicitly requested. Reviewers: arsenm, dsanders, aemerson, aditya_nandakumar Reviewed By: arsenm, dsanders Subscribers: jvesely, wdng, nhaehnle, rovka, hiraditya, volkan, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D76494
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions