[PATCH] [RewriteStatepointsForGC] Strip deref info after rewriting.

Sanjoy Das sanjoy at playingwithpointers.com
Thu May 28 16:16:35 PDT 2015


================
Comment at: lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:2275
@@ +2274,3 @@
+      assert(MD->getNumOperands() < 5 && "unrecognized metadata shape!");
+      bool IsImmutableTBAA =
+          MD->getNumOperands() == 4 &&
----------------
sanjoy wrote:
> reames wrote:
> > Is there a TBAA helper class we can use here?  Not sure there is, but please check.
> Looked, could not find anything.
To clarify -- I could not find a //public// interface for the TBAA metadata.  There is a helper class inside  TypeBasedAliasAnalysis.cpp that's not exported.

http://reviews.llvm.org/D10105

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list