[all-commits] [llvm/llvm-project] 104db2: [AMDGPU] Fix image intrinsic optimizer on loads fr...

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Oct 18 03:08:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 104db26004d0e4d072179dd20ab478e0febf7991
      https://github.com/llvm/llvm-project/commit/104db26004d0e4d072179dd20ab478e0febf7991
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUImageIntrinsicOptimizer.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.load.2dmsaa.ll

  Log Message:
  -----------
  [AMDGPU] Fix image intrinsic optimizer on loads from different resources (#69355)

The image intrinsic optimizer pass was neglecting to check any arguments
of the load intrinsic after the VAddr arguments. For example multiple
loads from different resources should not have been combined but were,
because the pass was not checking the resource argument.




More information about the All-commits mailing list