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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Dec 12 22:11:24 PST 2024


  Branch: refs/heads/users/arsenm/amdgpu-simplify-libcall-verify-signature
  Home:   https://github.com/llvm/llvm-project
  Commit: 5432f06baa6deca989b447f29330bf0b1f61933d
      https://github.com/llvm/llvm-project/commit/5432f06baa6deca989b447f29330bf0b1f61933d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-13 (Fri, 13 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: 45fcc68fbb71acfda6e1c1d3b9a473b81e517714
      https://github.com/llvm/llvm-project/commit/45fcc68fbb71acfda6e1c1d3b9a473b81e517714
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-13 (Fri, 13 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: aff8f72c7095d01fab7e6f638273ef3fb9780bff
      https://github.com/llvm/llvm-project/commit/aff8f72c7095d01fab7e6f638273ef3fb9780bff
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-13 (Fri, 13 Dec 2024)

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

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


Compare: https://github.com/llvm/llvm-project/compare/e557b6af5fb5...aff8f72c7095

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