Handle dynamic vector extracts that use an index that's an add of a
constant offset into moving the base subregister of the indexing
operation.
Force the add into the loop in regbankselect, which will be recognized
when selected.
Paths
| Differential D72166
AMDGPU/GlobalISel: Fold constant offset vector extract indexes ClosedPublic Authored by arsenm on Jan 3 2020, 9:11 AM.
Details
Diff Detail Event TimelineHerald added subscribers: Petar.Avramovic, arphaman, hiraditya and 8 others. · View Herald Transcript This revision is now accepted and ready to land.Jan 22 2020, 5:01 AM
Revision Contents
Diff 236077 llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract-vector-elt.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-extract-vector-elt.mir
|