forked from OSchip/llvm-project
[MSSA] Add clarifying comment for isOptimized on MemoryUse [nfc]
This commit is contained in:
parent
9397bdc67e
commit
8e06058bfe
|
@ -346,6 +346,9 @@ public:
|
|||
setOperand(0, DMA);
|
||||
}
|
||||
|
||||
/// The defining access of a MemoryUses are always optimized if queried from
|
||||
/// outside MSSA construction itself. This result is only useful inside
|
||||
/// the MSSA implementation.
|
||||
bool isOptimized() const {
|
||||
return getDefiningAccess() && OptimizedID == getDefiningAccess()->getID();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue