This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Fold constant offset vector extract indexes
ClosedPublic

Authored by arsenm on Jan 3 2020, 9:11 AM.

Details

Summary

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.

Diff Detail