[PATCH] [RewriteStatepointsForGC] Strip deref info after rewriting.
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 &&
> 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.
More information about the llvm-commits