summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/lsr-void.ll
Commit message (Collapse)AuthorAgeFilesLines
* [AMDGPU] Move lsr test. NFC.Stanislav Mekhanoshin2018-05-171-37/+0
| | | | llvm-svn: 332562
* [AMDGPU] Fix handling of void types in isLegalAddressingModeStanislav Mekhanoshin2018-05-151-0/+37
It is legal for the type passed to isLegalAddressingMode to be unsized or, more specifically, VoidTy. In this case, we must check the legality of load / stores for all legal types. Directly trying to call getTypeStoreSize is incorrect, and leads to breakage in e.g. Loop Strength Reduction. This change guards against that behaviour. Differential Revision: https://reviews.llvm.org/D40405 llvm-svn: 332409
OpenPOWER on IntegriCloud