[PATCH] Introduce bitset metadata format and bitset lowering pass.

Peter Collingbourne peter at pcc.me.uk
Wed Feb 4 11:56:23 PST 2015


================
Comment at: docs/LangRef.rst:1866
@@ +1865,3 @@
+To use the mechanism, a client creates a global metadata node named
+``llvm.bitsets``.  Each element is a metadata node with two elements:
+the first is a metadata string containing an identifier for the bitset,
----------------
kcc wrote:
> two elements... and the third is ... 
Done.

================
Comment at: docs/LangRef.rst:1889
@@ +1888,3 @@
+
+    !0 = !{!"bitset1", i32* @a, i32 0}
+    !1 = !{!"bitset1", i32* @b, i32 0}
----------------
kcc wrote:
> I'd suggest you to have an example that has a non-zero offset (otherwise it's not clear why you need offsets) 
Done.

http://reviews.llvm.org/D7288

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






More information about the llvm-commits mailing list