================
@@ -158,6 +159,10 @@ class PtrUseVisitorBase {
/// The constant offset of the use if that is known.
APInt Offset;
+ // When this access is via an llvm.protected.field.ptr intrinsic, contains
+ // the second argument to the intrinsic, the discriminator.
+ Value *ProtectedFieldDisc;
----------------
nikic wrote:
Hm, it would be really good to implement this in a way that does not require
hardcoding knowledge about pointer field protection into the generic
PtrUseVisitor. Can the matching discriminants be verified in some other way
(based on PFPUsers or so)?
https://github.com/llvm/llvm-project/pull/151650
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits