[PATCH] Make dead-striping to handle reverse edges.

Michael Spencer bigcheesegs at gmail.com
Mon Jun 2 18:16:30 PDT 2014


You should also update documentation.

================
Comment at: lib/Core/Resolver.cpp:340-342
@@ -328,1 +339,5 @@
+    if (const DefinedAtom *defAtom = dyn_cast<DefinedAtom>(atom))
+      for (const Reference *ref : *defAtom)
+	if (isBackref(ref))
+	  _reverseRef[ref->target()].insert(atom);
 
----------------
The indentation looks messed up here.

http://reviews.llvm.org/D3986






More information about the llvm-commits mailing list