[all-commits] [llvm/llvm-project] b09b05: [MemCpyOpt] Fix clobber check in fca2memcpy optimi...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Mar 13 10:24:19 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: b09b05b8e7c392428baaaf6bcaa8c85ce798ef72
https://github.com/llvm/llvm-project/commit/b09b05b8e7c392428baaaf6bcaa8c85ce798ef72
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-03-13 (Thu, 13 Mar 2025)
Changed paths:
M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
M llvm/test/Transforms/MemCpyOpt/fca2memcpy.ll
Log Message:
-----------
[MemCpyOpt] Fix clobber check in fca2memcpy optimization
This effectively reverts #108535. The old AA code was looking for
the *first* clobber between the load and store and then trying to
move all the way up there. The new MSSA based code instead found
the *last* clobber. There might still be an earlier clobber that
has not been accounted for.
Fixes #130632.
(cherry picked from commit 5da9044c40840187330526ca888290a95927a629)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list