commit | 0db0961141df5199a54450aa0e2d9fd9f11cefe3 | [log] [tgz] |
---|---|---|
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Thu Nov 08 00:16:23 2018 +0000 |
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Thu Nov 08 00:16:23 2018 +0000 |
tree | d56cbac15a10c9bf5af803b19d228b8087eb11e8 | |
parent | 5fedd08c092551ba031fa657290f3f34506555e2 [diff] |
[AMDGPU] Extend promote alloca vectorization Promote alloca can vectorize a small array by bitcasting it to a vector type. Extend vectorization for the case when alloca is already a vector type. We still want to replace GEPs with an insert/extract element instructions in this case. Differential Revision: https://reviews.llvm.org/D54219 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346376 91177308-0d34-0410-b5e6-96231b3b80d8