forked from OSchip/llvm-project
TTI: Add comment clarifying the meaning of MemIntrinsicInfo::PtrVal.
Patch by Tom Stellard. Differential Revision: https://reviews.llvm.org/D27563 llvm-svn: 291772
This commit is contained in:
parent
a3220ce6a3
commit
8a00aeeed1
|
@ -55,6 +55,11 @@ struct MemIntrinsicInfo {
|
|||
// Same Id is set by the target for corresponding load/store intrinsics.
|
||||
unsigned short MatchingId;
|
||||
int NumMemRefs;
|
||||
|
||||
/// This is the pointer that the intrinsic is loading from or storing to.
|
||||
/// If this is non-null, then analysis/optimization passes can assume that
|
||||
/// this intrinsic is functionally equivalent to a load/store from this
|
||||
/// pointer.
|
||||
Value *PtrVal;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue