[all-commits] [llvm/llvm-project] 4b4227: [AMDGPU][GlobalISel] Handle G_PTR_ADD when looking...

Mirko BrkuĊĦanin via All-commits all-commits at lists.llvm.org
Thu Jan 28 02:21:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b422708bac7161e7b1705d0d001a82fa3309e75
      https://github.com/llvm/llvm-project/commit/4b422708bac7161e7b1705d0d001a82fa3309e75
  Author: Mirko Brkusanin <Mirko.Brkusanin at amd.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/merge-buffer-stores.ll

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Handle G_PTR_ADD when looking for constant offset

Look throught G_PTRTOINT and G_PTR_ADD nodes when looking for constant
offset for buffer stores. This also helps with merging of these instructions
later on.

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


  Commit: 3c979ae9ecdd324fa768a189c50103ad0aecfabf
      https://github.com/llvm/llvm-project/commit/3c979ae9ecdd324fa768a189c50103ad0aecfabf
  Author: Mirko Brkusanin <Mirko.Brkusanin at amd.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.fmas.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Remove redundant cmp when copying constant to vcc

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


Compare: https://github.com/llvm/llvm-project/compare/54e570d94af9...3c979ae9ecdd


More information about the All-commits mailing list