mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
Add comment to clarify the behavior of a helper in DSE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5ac7c7da3e
commit
1582e7f1e2
@ -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…
Reference in New Issue
Block a user