[all-commits] [llvm/llvm-project] 6e1eee: [AMDGPU] Fixed promote alloca with ptr/int casts

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Wed Jun 10 11:47:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e1eee6034f7220f170cb78b8a1334cff2b8b911
      https://github.com/llvm/llvm-project/commit/6e1eee6034f7220f170cb78b8a1334cff2b8b911
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    A llvm/test/CodeGen/AMDGPU/promote-alloca-pointer-array.ll

  Log Message:
  -----------
  [AMDGPU] Fixed promote alloca with ptr/int casts

There is an invalid cast produced when a pointee is a pointer
and the alloca type is cast to a pointer to int.

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




More information about the All-commits mailing list