================
@@ -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;
----------------
pcc wrote:
Sure, we can move visiting the uses of `llvm.protected.field.ptr` into
`SliceBuilder::visitIntrinsicInst`. Done.
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