[all-commits] [llvm/llvm-project] 734575: [AArch64][GlobalISel] Use custom legalization for ...
AE via All-commits
all-commits at lists.llvm.org
Thu Oct 1 13:30:15 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 73457536ff335a2cbe2381354512e0fcf9d703fd
https://github.com/llvm/llvm-project/commit/73457536ff335a2cbe2381354512e0fcf9d703fd
Author: Amara Emerson <amara at apple.com>
Date: 2020-10-01 (Thu, 01 Oct 2020)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.h
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-vector-icmp.mir
Log Message:
-----------
[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
More information about the All-commits
mailing list