summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/shl-add-to-add-shl.ll
Commit message (Collapse)AuthorAgeFilesLines
* [AMDGPU][MC][GFX8][GFX9] Corrected names of integer ↵Dmitry Preobrazhensky2017-11-201-3/+3
| | | | | | | | | | | | v_{add/addc/sub/subrev/subb/subbrev} See bug 34765: https://bugs.llvm.org//show_bug.cgi?id=34765 Reviewers: tamazov, SamWot, arsenm, vpykhtin Differential Revision: https://reviews.llvm.org/D40088 llvm-svn: 318675
* [AMDGPU] Convert shl (add) into add (shl)Stanislav Mekhanoshin2017-05-231-0/+40
shl (or|add x, c2), c1 => or|add (shl x, c1), (c2 << c1) This allows to fold a constant into an address in some cases as well as to eliminate second shift if the expression is used as an address and second shift is a result of a GEP. Differential Revision: https://reviews.llvm.org/D33432 llvm-svn: 303641
OpenPOWER on IntegriCloud