1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00

Add comment to clarify the behavior of a helper in DSE.

llvm-svn: 139571
This commit is contained in:
Eli Friedman 2011-09-13 01:28:59 +00:00
parent ce1cbc7db5
commit 3f92f87989

View File

@ -159,6 +159,8 @@ static bool hasMemoryWrite(Instruction *I) {
}
/// getLocForWrite - Return a Location stored to by the specified instruction.
/// If isRemovable returns true, this function and getLocForRead completely
/// describe the memory operations for this instruction.
static AliasAnalysis::Location
getLocForWrite(Instruction *Inst, AliasAnalysis &AA) {
if (StoreInst *SI = dyn_cast<StoreInst>(Inst))