[all-commits] [llvm/llvm-project] e00201: GlobalISel: Implement fewerElementsVector for G_EX...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Thu Aug 6 11:33:37 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e00201539f9c5c540a037add790eb31032aaea8f
https://github.com/llvm/llvm-project/commit/e00201539f9c5c540a037add790eb31032aaea8f
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-08-06 (Thu, 06 Aug 2020)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
A llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement-stack-lower.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
Log Message:
-----------
GlobalISel: Implement fewerElementsVector for G_EXTRACT_VECTOR_ELT
Use the same basic strategy as LegalizeVectorTypes. Try to index into
smaller pieces if there's a constant index, and otherwise fall back to
a stack temporary.
More information about the All-commits
mailing list