[all-commits] [llvm/llvm-project] 950f32: AMDGPU: Fix verifier error on tail call target in ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Oct 3 04:32:57 PDT 2024


  Branch: refs/heads/users/arsenm/amdgpu-readfirstlane-tail-call-callee
  Home:   https://github.com/llvm/llvm-project
  Commit: 950f3239fc138b3eb1df2eb05fa4b909087551db
      https://github.com/llvm/llvm-project/commit/950f3239fc138b3eb1df2eb05fa4b909087551db
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-03 (Thu, 03 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/tail-call-uniform-target-in-vgprs-issue110930.ll

  Log Message:
  -----------
  AMDGPU: Fix verifier error on tail call target in vgprs

We allow tail calls of known uniform function pointers. This
would produce a verifier error if the uniform value is in VGPRs.
Insert readfirstlanes just in case this occurs, which will fold
out later if it is unnecessary.

GlobalISel should need a similar fix, but it currently does not
attempt tail calls of indirect calls.

Fixes subissue of #110930



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