[all-commits] [llvm/llvm-project] 79687e: AMDGPU: Fix libcall recognition of image array types

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun Dec 15 22:02:25 PST 2024


  Branch: refs/heads/users/arsenm/amdgpu-libfunc-ocl-image-array-names
  Home:   https://github.com/llvm/llvm-project
  Commit: 79687ef4b5e92d9100d9c6fe41af18fbcf182dba
      https://github.com/llvm/llvm-project/commit/79687ef4b5e92d9100d9c6fe41af18fbcf182dba
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

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

  Log Message:
  -----------
  AMDGPU: Fix libcall recognition of image array types

Add tests with get_image_width as a sample for all of the non-extension
image types. The transform doesn't do anything, but this runs through
all the mangled libfunc parsing and shows it does not crash. It would
probably be smarter to check for exact match of the types, rather than
checking the prefix.



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