diff options
author | Amara Emerson <amara@apple.com> | 2020-09-23 15:52:49 -0700 |
---|---|---|
committer | Amara Emerson <amara@apple.com> | 2020-10-01 13:22:00 -0700 |
commit | 73457536ff335a2cbe2381354512e0fcf9d703fd (patch) | |
tree | f2fe8d51827326b62ca21b0432e0d4aa90cd5d4c /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 4c265ce665630b74ad9f25f67cd2114714b9aaab (diff) | |
download | llvm-73457536ff335a2cbe2381354512e0fcf9d703fd.zip llvm-73457536ff335a2cbe2381354512e0fcf9d703fd.tar.gz llvm-73457536ff335a2cbe2381354512e0fcf9d703fd.tar.bz2 |
[AArch64][GlobalISel] Use custom legalization for G_TRUNC for v8i8 vectors.
Truncating to v8i8 is a case where we want to split the source but also generate
intermediate truncates to reduce the size of the source vector before truncating
down to v8i8. This implements the same strategy as what SelectionDAG does, but
I'm not certain where if anywhere in generic code it should live.
Use it for legalization of v8s8 = G_ICMP v8s32.
Differential Revision: https://reviews.llvm.org/D88191
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions