[all-commits] [llvm/llvm-project] fc9022: AMDGPU/GlobalISel: Select llvm.amdgcn.raw.buffer.load
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Jan 27 09:49:39 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fc90222a91418189a8342a4043b4ad006331c310
https://github.com/llvm/llvm-project/commit/fc90222a91418189a8342a4043b4ad006331c310
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
A llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.load.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.raw.buffer.load.ll
Log Message:
-----------
AMDGPU/GlobalISel: Select llvm.amdgcn.raw.buffer.load
Use intermediate instructions, unlike with buffer stores. This is
necessary because of the need to have an internal way to distinguish
between signed and unsigned extloads. This introduces some duplication
and near duplication with the buffer store selection path. The store
handling should maybe be moved into legalization to match and
eliminate the duplication.
More information about the All-commits
mailing list