]> granicus.if.org Git - llvm/commit
AMDGPU/GlobalISel: First pass at attempting to legalize load/stores
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 10 Sep 2019 16:20:14 +0000 (16:20 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 10 Sep 2019 16:20:14 +0000 (16:20 +0000)
commit7b1d1c328cc22aa303583a4e8ae493e20b3d698e
treed18f0413d6fe0820c503fbe7ad406fc8c3a7fe1f
parent8a96e2c0c782d11e60ca8bf3b9ef5bf33f914025
AMDGPU/GlobalISel: First pass at attempting to legalize load/stores

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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371533 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIISelLowering.h
test/CodeGen/AMDGPU/GlobalISel/inst-select-load-local-128.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/inst-select-load-local.mir
test/CodeGen/AMDGPU/GlobalISel/inst-select-load-private.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/legalize-load.mir [deleted file]
test/CodeGen/AMDGPU/GlobalISel/legalize-store.mir