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

Kostya Serebryany kcc at google.com
Wed Feb 4 11:45:22 PST 2015

Two comments on the doc so far.

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,
two elements... and the third is ... 

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



More information about the llvm-commits mailing list