[all-commits] [llvm/llvm-project] 5e855f: [MemCpyOpt] Don't hoist store that's not guarantee...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sat Oct 10 01:28:18 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5e855f1e8056ca0800134469ee82e0ff5ad5af59
https://github.com/llvm/llvm-project/commit/5e855f1e8056ca0800134469ee82e0ff5ad5af59
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-10-10 (Sat, 10 Oct 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
M llvm/test/Transforms/MemCpyOpt/fca2memcpy.ll
Log Message:
-----------
[MemCpyOpt] Don't hoist store that's not guaranteed to execute
MemCpyOpt can hoist stores while load+store pairs into memcpy.
This hoisting can currently result in stores being executed that
weren't guaranteed to execute in the original problem.
Differential Revision: https://reviews.llvm.org/D89154
More information about the All-commits
mailing list