[PATCH] D64899: AMDGPU/GlobalISel: First pass at attempting to legalize load/stores

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 17:19:10 PDT 2019


arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.

There's still a lot more to do, but this handles decomposing due to
alignment. I've gotten it to the point where nothing crashes or
infinite loops the legalizer.


https://reviews.llvm.org/D64899

Files:
  lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h
  test/CodeGen/AMDGPU/GlobalISel/inst-select-load-private.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-load.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-store.mir





More information about the llvm-commits mailing list