[all-commits] [llvm/llvm-project] fd1093: AMDGPU/GlobalISel: Legalize G_PTR_ADD for arbitrar...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jan 21 13:35:43 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fd109308a7b71c009402b16c5e583ee462bfe9bd
      https://github.com/llvm/llvm-project/commit/fd109308a7b71c009402b16c5e583ee462bfe9bd
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-add.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ptr-add.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Legalize G_PTR_ADD for arbitrary pointers

Pointers of unrecognized address spaces shoudl be treated as
global-like pointers. Even if loads and stores of them aren't handled,
dumb operations that just operate on the bits should work.




More information about the All-commits mailing list