[PATCH] D27563: TTI: Add comment clarifying the meaning of MemIntrinsicInfo::PtrVal
Chad Rosier via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 12 08:26:10 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL291772: TTI: Add comment clarifying the meaning of MemIntrinsicInfo::PtrVal. (authored by mcrosier).
Changed prior to commit:
https://reviews.llvm.org/D27563?vs=80711&id=84128#toc
Repository:
rL LLVM
https://reviews.llvm.org/D27563
Files:
llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h
Index: llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h
===================================================================
--- llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h
+++ llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h
@@ -55,6 +55,11 @@
// 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;
};
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27563.84128.patch
Type: text/x-patch
Size: 664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170112/504769c9/attachment.bin>
More information about the llvm-commits
mailing list