[all-commits] [llvm/llvm-project] cdb973: [amdgpu] Expand all ConstantExpr users of LDS vari...
Jon Chesterfield via All-commits
all-commits at lists.llvm.org
Tue Sep 13 23:56:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cdb9738963a1584d6530bcf7b102423f54a6bdb1
https://github.com/llvm/llvm-project/commit/cdb9738963a1584d6530bcf7b102423f54a6bdb1
Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
Date: 2022-09-14 (Wed, 14 Sep 2022)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.h
M llvm/test/CodeGen/AMDGPU/lower-kernel-lds-constexpr.ll
M llvm/test/CodeGen/AMDGPU/lower-lds-struct-aa-memcpy.ll
A llvm/test/CodeGen/AMDGPU/lower-module-lds-constantexpr-phi.ll
M llvm/test/CodeGen/AMDGPU/lower-module-lds-constantexpr.ll
Log Message:
-----------
[amdgpu] Expand all ConstantExpr users of LDS variables in instructions
Bug noted in D112717 can be sidestepped with this change.
Expanding all ConstantExpr involved with LDS up front makes the variable specialisation simpler. Excludes ConstantExpr that don't access LDS to avoid disturbing codegen elsewhere.
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D133422
More information about the All-commits
mailing list