[all-commits] [llvm/llvm-project] 5da904: [MemCpyOpt] Fix clobber check in fca2memcpy optimi...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Mar 12 06:54:18 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5da9044c40840187330526ca888290a95927a629
https://github.com/llvm/llvm-project/commit/5da9044c40840187330526ca888290a95927a629
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-03-12 (Wed, 12 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.
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