[llvm-commits] PATCH: BasicBlock metadata

Ralf Karrenberg karrenberg at cdl.uni-saarland.de
Tue May 8 01:22:18 PDT 2012


Hi,

please find attached a patch that adds metadata functionality to BasicBlocks.
It should include all that is required for full support via BitcodeReader/Writer, AsmParser/Writer, etc.

Essentially, the patch mimics behaviour of metadata that is attached to instructions.

The chosen syntax for block metadata is as follows:

entry:
    %property1 !0, %property2 !1
  %x = fadd float %a, %b
  ret float %x

Looking forward to getting feedback on the patch :).

Cheers,
Ralf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: basicblock_metadata.patch
Type: text/x-patch
Size: 25235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120508/652dcd40/attachment.bin>


More information about the llvm-commits mailing list