[all-commits] [llvm/llvm-project] 310d32: [AMDGPU] Fix promote alloca which is already vector

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Mon May 11 14:52:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 310d32cb80a611e6384a921e85607fea05841f26
      https://github.com/llvm/llvm-project/commit/310d32cb80a611e6384a921e85607fea05841f26
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/test/CodeGen/AMDGPU/vector-alloca-bitcast.ll

  Log Message:
  -----------
  [AMDGPU] Fix promote alloca which is already vector

Just do not touch loads and stores which are already vector.
Previously pass was just unable to see these loads and stores
because these were hidden bitcasts.

Differential Revision: https://reviews.llvm.org/D79738




More information about the All-commits mailing list