[all-commits] [llvm/llvm-project] 6d9fc1: AMDGPU: Fix producing invalid IR on vector typed g...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Oct 29 22:14:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d9fc1b84619ca22f3e70d581c87940bcfbf3a93
      https://github.com/llvm/llvm-project/commit/6d9fc1b84619ca22f3e70d581c87940bcfbf3a93
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-29 (Tue, 29 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    A llvm/test/CodeGen/AMDGPU/promote-alloca-invalid-vector-gep.ll

  Log Message:
  -----------
  AMDGPU: Fix producing invalid IR on vector typed getelementptr (#114113)

This did not consider the IR change to allow a scalar base with a vector
offset part. Reject any users that are not explicitly handled.

In this situation we could handle the vector GEP, but that is a larger
change. This just avoids the IR verifier error by rejecting it.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list