[PATCH] D11736: Initial documentation for the MIR serialization format.
Alex Lorenz
arphaman at gmail.com
Wed Aug 5 09:31:32 PDT 2015
arphaman added inline comments.
================
Comment at: docs/MachineIRRef.rst:41-42
@@ +40,4 @@
+
+When the first YAML document contains a `YAML block literal string
+<http://www.yaml.org/spec/1.2/spec.html#id2795688>`_, the MIR parser will
+treat this string as an LLVM assembly language string that represents an
----------------
silvas wrote:
> Do you actually depend on it being a block literal string? I thought that that was just syntax sugar in the YAML language, so that really any string should be fine (although the block literal string is probably easiest to read)
Yes, right now this has to be an actual block literal scalar, as the YAML parser has a separate node class for block scalars, and the MIR parser looks for that node when looking for the embedded IR module.
Repository:
rL LLVM
http://reviews.llvm.org/D11736
More information about the llvm-commits
mailing list