[all-commits] [llvm/llvm-project] 909a5c: [AMDGPU] Improve global SADDR selection
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Wed May 5 14:44:44 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 909a5ccf3be7868b24320aaaf0e588b56ba6e3f3
https://github.com/llvm/llvm-project/commit/909a5ccf3be7868b24320aaaf0e588b56ba6e3f3
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2021-05-05 (Wed, 05 May 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global-saddr.mir
M llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
M llvm/test/CodeGen/AMDGPU/global_atomics.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_i64.ll
M llvm/test/CodeGen/AMDGPU/offset-split-global.ll
Log Message:
-----------
[AMDGPU] Improve global SADDR selection
An address can be a uniform sum of two i64 bit values.
That regularly happens in a loop where index is an induction
variable promoted to 64 bit by the LSR. We can materialize
zero in a VGPR and still use SADDR form of the load.
Differential Revision: https://reviews.llvm.org/D101591
More information about the All-commits
mailing list