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 | 7f09fd6b045da9fd62529fede180ac3e48a88305 (patch) | |
| tree | 8f92d36285915a37bd117ce8c0610a82f1a34a80 /llvm/include | |
| parent | d4e37afe450ae1822d65223b297a4b518b9eb268 (diff) | |
| download | bcm5719-llvm-7f09fd6b045da9fd62529fede180ac3e48a88305.tar.gz bcm5719-llvm-7f09fd6b045da9fd62529fede180ac3e48a88305.zip | |
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.
llvm-svn: 353125
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h b/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h index fc383c78a9d..729249ce30b 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h +++ b/llvm/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); | 

