[all-commits] [llvm/llvm-project] 3ed29f: [AMDGPU] NFC refactoring in isel for buffer access...

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Jul 21 03:23:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ed29f960c4251cc7e6043c9f75d345481c2c7c9
      https://github.com/llvm/llvm-project/commit/3ed29f960c4251cc7e6043c9f75d345481c2c7c9
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h

  Log Message:
  -----------
  [AMDGPU] NFC refactoring in isel for buffer access intrinsics

Rename getBufferOffsetForMMO to updateBufferMMO and pass in the MMO to
be updated, in preparation for the bug fix in D106284.

Call updateBufferMMO consistently for all buffer intrinsics, even the
ones that use setBufferOffsets to decompose a combined offset
expression.

Add a getIdxEn helper function.

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




More information about the All-commits mailing list