[all-commits] [llvm/llvm-project] 3478d6: [DSE] Check for whole object overwrite even if dea...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Jan 3 00:37:00 PST 2022
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-01-03 (Mon, 03 Jan 2022)
[DSE] Check for whole object overwrite even if dead store size not known
If the killing store overwrites the whole object, we know that the
preceding store is dead, regardless of the accessed offset or size.
This case was previously only handled if the size of the dead store
was also known.
This allows us to perform conventional DSE for calls that write to
an argument (but without known size).
Differential Revision: https://reviews.llvm.org/D116267
More information about the All-commits