[all-commits] [llvm/llvm-project] e9608a: [AMDGPU][SDag] Add IMG init also for image_gather4...

Jay Foad via All-commits all-commits at lists.llvm.org
Tue Apr 6 06:47:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9608a84d881e3190d17d8b11f9fdf6d745018ef
      https://github.com/llvm/llvm-project/commit/e9608a84d881e3190d17d8b11f9fdf6d745018ef
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MIMGInstructions.td
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.dim.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.dim.ll

  Log Message:
  -----------
  [AMDGPU][SDag] Add IMG init also for image_gather4 instructions

This fixes an oversight in D99747 which moved the IMG init code from
SIAddIMGInit to AdjustInstrPostInstrSelection, but did not set the
hasPostISelHook flag on gather4 instructions.

Differential Revision: https://reviews.llvm.org/D99953




More information about the All-commits mailing list