summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
Commit message (Collapse)AuthorAgeFilesLines
* AMDGPU: Change boolean content type to 0 or 1Matt Arsenault2019-11-151-2/+2
| | | | | | | | The usage of target boolean checks is overly inflexible, since sext and zext of a compare are equally cheap. The choice is arbitrary, but using 0/1 to some degree is the choice of lower resistance since that's what most targets use. This enables a few combines that don't bother to support ZeroOrNegativeOneBooleanContent.
* [AMDGPU] combine extractelement into several selectsStanislav Mekhanoshin2018-11-131-0/+293
| | | | | | | | | | 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
* Fixed DAGTypeLegalizer::SplitVecOp_EXTRACT_VECTOR_ELT i1 handlingStanislav Mekhanoshin2018-11-131-0/+28
Legalizer used to request an ext load from i8 to i1 when promoting vector element type to i8. Fixed. Differential Revision: https://reviews.llvm.org/D54440 llvm-svn: 346795
OpenPOWER on IntegriCloud