commit | bcb34ac2ea6c7232a86f6da569afe3d6dbccd7c4 | [log] [tgz] |
---|---|---|
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Tue Nov 13 21:18:21 2018 +0000 |
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Tue Nov 13 21:18:21 2018 +0000 |
tree | d2011b76c57899a48bfb716d6097dcc660c478aa | |
parent | c2078fb1c8b63557d3b78af4b8897c617b1804df [diff] |
[AMDGPU] combine extractelement into several selects An extractelement with non-constant index will be lowered either to scratch or movrel loop in most cases. This patch converts such instruction into a set of selects if vector size is not too big. Differential Revision: https://reviews.llvm.org/D54351 llvm-svn: 346800