diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-02-05 00:26:12 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-02-05 00:26:12 +0000 |
commit | 4966488eeef832d90cb5bad2e1cdb5d02b6d6819 (patch) | |
tree | 4a64146cb53fc062536b750e315a2167abfa555c /include/llvm/CodeGen | |
parent | c4130de547959e18b1ed7026e6d21acc2f634015 (diff) | |
download | llvm-4966488eeef832d90cb5bad2e1cdb5d02b6d6819.tar.gz |
GlobalISel: Consolidate load/store legalization
The fewerElementsVectors implementation for load/stores
handles the scalar reduction case just as well, so drop
the redundant code in narrowScalar. This also introduces
support for narrowing irregular size breakdowns for
scalars.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/GlobalISel/LegalizerHelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h b/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h index fc383c78a9d..729249ce30b 100644 --- a/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h +++ b/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h @@ -167,7 +167,7 @@ private: fewerElementsVectorSelect(MachineInstr &MI, unsigned TypeIdx, LLT NarrowTy); LegalizeResult - fewerElementsVectorLoadStore(MachineInstr &MI, unsigned TypeIdx, LLT NarrowTy); + reduceLoadStoreWidth(MachineInstr &MI, unsigned TypeIdx, LLT NarrowTy); LegalizeResult narrowScalarMul(MachineInstr &MI, unsigned TypeIdx, LLT Ty); |