[all-commits] [llvm/llvm-project] 79b21f: [AArch64][GlobalISel] Fix bug in fewVectorElts act...
AE via All-commits
all-commits at lists.llvm.org
Thu Sep 17 08:56:50 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 79b21fc187643416dbd21db10abe46a91b4c3f09
https://github.com/llvm/llvm-project/commit/79b21fc187643416dbd21db10abe46a91b4c3f09
Author: Amara Emerson <amara at apple.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/legalize-fptrunc.mir
M llvm/test/CodeGen/AArch64/arm64-vcvt.ll
Log Message:
-----------
[AArch64][GlobalISel] Fix bug in fewVectorElts action while legalizing oversize G_FPTRUNC vectors.
For <8 x s32> = fptrunc <8 x s64> the fewerElementsVector action tries to break
down the source vector into the final source vectors of <2 x s64> using unmerge.
This fixes a crash due to using the wrong number of elements for the breakdown
type.
Also add some legalizer tests for explicitly G_FPTRUNC which we didn't have.
Differential Revision: https://reviews.llvm.org/D87814
More information about the All-commits
mailing list