[all-commits] [llvm/llvm-project] 3d3b7d: AMDGPU: Verify function type matches when matching...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Dec 6 15:54:25 PST 2024


  Branch: refs/heads/users/arsenm/amdgpu-simplify-libcall-verify-signature
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d3b7d76fdfc52918044b857e1462a306fcd54e4
      https://github.com/llvm/llvm-project/commit/3d3b7d76fdfc52918044b857e1462a306fcd54e4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-06 (Fri, 06 Dec 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULibFunc.h
    M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-ldexp.ll

  Log Message:
  -----------
  AMDGPU: Verify function type matches when matching libcalls

Previously this would recognize a call to a mangled ldexp(float, float)
as a candidate to replace with the intrinsic. We need to verify the second
parameter is in fact an integer.

Fixes: SWDEV-501389



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