[all-commits] [llvm/llvm-project] aeba28: [DSE] Drop hasAnalyzableMemoryWrite() (NFCI)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sat Nov 20 14:20:29 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aeba28bc62442f4d3a29cc189fd68fca48ee0612
https://github.com/llvm/llvm-project/commit/aeba28bc62442f4d3a29cc189fd68fca48ee0612
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-11-20 (Sat, 20 Nov 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Log Message:
-----------
[DSE] Drop hasAnalyzableMemoryWrite() (NFCI)
The functionality of hasAnalyzableMemoryWrite() is effectively
subsumed by getLocForWriteEx(), which will return None if the
instruction is not analyzable. The implementations don't match
exactly (e.g. getLocForWriteEx() does not limit non-calls to
stores), but in conjunction with the isRemovable() check, it ends
up being the same.
More information about the All-commits
mailing list