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:
parent
ce1cbc7db5
commit
3f92f87989
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user