[all-commits] [llvm/llvm-project] 9f12f6: [GVN] Drop Clobber dependency if store may overwri...
Sergey Kachkov via All-commits
all-commits at lists.llvm.org
Tue Oct 10 09:22:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f12f655c44faf47e5c42c016b543cc431b66af8
https://github.com/llvm/llvm-project/commit/9f12f655c44faf47e5c42c016b543cc431b66af8
Author: Sergey Kachkov <109674256+skachkov-sc at users.noreply.github.com>
Date: 2023-10-10 (Tue, 10 Oct 2023)
Changed paths:
M llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
M llvm/test/Transforms/GVN/rle-clobbering-store.ll
Log Message:
-----------
[GVN] Drop Clobber dependency if store may overwrite only the same value (#68322)
In some cases clobbering store can be safely skipped if it can only must
or no alias with memory location and it writes the same value. This
patch supports simple case when the value from memory location was
loaded in the same basic block before the store and there are no
modifications between them.
More information about the All-commits
mailing list