summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/partial-shift-shrink.ll
Commit message (Collapse)AuthorAgeFilesLines
* AMDGPU: Handle partial shift reduction for variable shiftsMatt Arsenault2018-05-091-0/+36
| | | | | | | If the variable shift amount has known bits, we can still reduce the shift. llvm-svn: 331917
* AMDGPU: Partially shrink 64-bit shifts if reduced to 16-bitMatt Arsenault2018-05-091-0/+102
This is an extension of an existing combine to reduce wider shls if the result fits in the final result type. This introduces the same combine, but reduces the shift to a middle sized type to avoid the slow 64-bit shift. llvm-svn: 331916
OpenPOWER on IntegriCloud