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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun Dec 15 21:59:19 PST 2024


  Branch: refs/heads/users/arsenm/amdgpu-simplify-libcall-verify-signature
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d0b9ed7b0ba9ed0ac2856dae1bb51a1c9d8440e
      https://github.com/llvm/llvm-project/commit/0d0b9ed7b0ba9ed0ac2856dae1bb51a1c9d8440e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-16 (Mon, 16 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


  Commit: 72c0b1cd88ec026d708344fcccfd4682f81fee44
      https://github.com/llvm/llvm-project/commit/72c0b1cd88ec026d708344fcccfd4682f81fee44
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp
    A llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-image-function-signatures.ll

  Log Message:
  -----------
  Fix crashing when finding type of ocl_image* types


  Commit: 8f52a2fa484b2341ab1d3605b310d27bc6c17eb7
      https://github.com/llvm/llvm-project/commit/8f52a2fa484b2341ab1d3605b310d27bc6c17eb7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp

  Log Message:
  -----------
  Revert array cases


Compare: https://github.com/llvm/llvm-project/compare/01db72e559c8...8f52a2fa484b

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