[all-commits] [llvm/llvm-project] 81d69e: [DSE] Call isRemovable() after getLocForWriteEx() ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Dec 24 01:01:40 PST 2021
Author: Nikita Popov <npopov at redhat.com>
Date: 2021-12-24 (Fri, 24 Dec 2021)
[DSE] Call isRemovable() after getLocForWriteEx() (NFCI)
The only non-trivial change here is that the isReadClobber()
check for redundant stores is now on the DefLoc, not the
UpperLoc. This is semantically the right location to use, though
in practice it makes no difference (the locations are either the
same, or the def inst does not read).
More information about the All-commits