[all-commits] [llvm/llvm-project] 4f0ed1: Reland rGf35a09daebd0a90daa536432e62a2476f708150d ...
Chen Zheng via All-commits
all-commits at lists.llvm.org
Sun Mar 12 19:12:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4f0ed16a46c509a7b8ef09f3c9ae6434d0cf5622
https://github.com/llvm/llvm-project/commit/4f0ed16a46c509a7b8ef09f3c9ae6434d0cf5622
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2023-03-12 (Sun, 12 Mar 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AMDGPU/ctpop16.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i16.ll
M llvm/test/CodeGen/AMDGPU/load-global-i16.ll
M llvm/test/CodeGen/AMDGPU/shl.ll
M llvm/test/CodeGen/AMDGPU/sra.ll
M llvm/test/CodeGen/Mips/o32_cc_byval.ll
M llvm/test/CodeGen/PowerPC/aix-cc-byval.ll
M llvm/test/CodeGen/PowerPC/byval-lhs.ll
M llvm/test/CodeGen/PowerPC/ppc64-byval-larger-struct.ll
M llvm/test/CodeGen/X86/fastcc-byval.ll
Log Message:
-----------
Reland rGf35a09daebd0a90daa536432e62a2476f708150d and rG63854f91d3ee1056796a5ef27753648396cac6ec
[DAGCombiner] handle more store value forwarding
When lowering calls on target like PPC, some stack loads
will be generated for by value parameters. Node CALLSEQ_START
prevents such loads from being combined.
Suggested by @RolandF, this patch removes the unnecessary
loads for the byval parameter by extending ForwardStoreValueToDirectLoad
Reviewed By: nemanjai, RolandF
Differential Revision: https://reviews.llvm.org/D138899
More information about the All-commits
mailing list