[all-commits] [llvm/llvm-project] 221fde: [AMDGPU][GlobalISel] Fold flat vgpr + constant add...

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Wed Dec 23 02:05:07 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 221fdedc692672d4f63ee768ae5c541626734240
      https://github.com/llvm/llvm-project/commit/221fdedc692672d4f63ee768ae5c541626734240
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement-stack-lower.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.atomic.inc.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.global.atomic.fadd.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/load-constant.96.ll

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Fold flat vgpr + constant addresses

Use getPtrBaseWithConstantOffset in selectFlatOffsetImpl to fold more
vgpr+constant addresses.

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




More information about the All-commits mailing list