diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-02-05 00:13:44 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-02-05 00:13:44 +0000 |
| commit | 81511e5428c4944a185474c7326b25319314a15e (patch) | |
| tree | f2db43dfabca509da4fbdfa7332500bf7662032f /llvm/include | |
| parent | 24f14993e8743a4944756a8acc68d8c6fa7de9a6 (diff) | |
| download | bcm5719-llvm-81511e5428c4944a185474c7326b25319314a15e.tar.gz bcm5719-llvm-81511e5428c4944a185474c7326b25319314a15e.zip | |
GlobalISel: Implement narrowScalar for select
Don't handle vector conditions.
I think this can be merged in the future with
fewerElementsVectorSelect, although this becomes slightly tricky with
a vector condition.
llvm-svn: 353122
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h b/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h index c0874124a15..fc383c78a9d 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h @@ -171,6 +171,8 @@ private: LegalizeResult narrowScalarMul(MachineInstr &MI, unsigned TypeIdx, LLT Ty); + LegalizeResult narrowScalarSelect(MachineInstr &MI, unsigned TypeIdx, LLT Ty); + LegalizeResult lowerBitCount(MachineInstr &MI, unsigned TypeIdx, LLT Ty); MachineRegisterInfo &MRI; |

