[all-commits] [llvm/llvm-project] df116d: [MemCpyOpt] Fix the invalid code modification for ...
Kai Yan via All-commits
all-commits at lists.llvm.org
Mon Oct 9 03:54:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: df116d1dc42d3d4d6264f87bdb1c32af5802ddab
https://github.com/llvm/llvm-project/commit/df116d1dc42d3d4d6264f87bdb1c32af5802ddab
Author: Kai Yan <147247984+kaiyan96 at users.noreply.github.com>
Date: 2023-10-09 (Mon, 09 Oct 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
A llvm/test/Transforms/MemCpyOpt/memcpy-gep-modification.ll
Log Message:
-----------
[MemCpyOpt] Fix the invalid code modification for GEP (#68479)
Relocate the GEP modification to a later stage of the function
performCallSlotOptzn(), ensuring that the code remains unchanged if the
optimization fails.
Co-authored-by: aklkaiyan <aklkaiyan at tencent.com>
More information about the All-commits
mailing list