[PATCH] D33756: [RS4GC] Drop invalid metadata after pointers are relocated

Daniel Neilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 7 08:54:39 PDT 2017


dneilson added inline comments.


================
Comment at: lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:2318
+  // is MD_invariant_load.
+  unsigned KnownIDs[] = {LLVMContext::MD_tbaa,
+                         LLVMContext::MD_alias_scope,
----------------
Can you order these values in the order provided in IR/LLVMContext.h? Makes it easier to see which ones are missing if the ordering is the same.


https://reviews.llvm.org/D33756





More information about the llvm-commits mailing list