[llvm-dev] MIR YAML deserialisation failure

Valentin Churavy via llvm-dev
Mon, 19 Mar 2018 23:53:21 -0000

Hello,

I am trying to isolate an assertion failure in if-converter (on PPC) and I
generated a textual debuglog with:

```
LLVM_ARGS=-print-before-all -print-module-scope
-filter-print-funcs=japi1__require_7687
```

and after splicing out the the MIR before the if-converter pass
I would like to run `llc -march=ppc64le -run-pass=if-converter input.mir`
so that I can start minimising the MIR.

This steps fails for me with a:
```
error: YAML:188:20: Unrecognized character while tokenizing.
Function Live Ins: %x4
                   ^

error: YAML:188:1: Map value must not be empty
Function Live Ins: %x4
^~~~~~~~~~~~~~~~~
```

Should I expect this to work, or is some part of my workflow wrong?

I put the full log and just the extracted MIR file online:
https://drive.google.com/open?id=1Br0s9Qvr4tzPv8nqbnV_nWezpEH5Ci7B and
would appreciate any guidance whether I should file this as a deserialiser
bug.

Best,
Valentin
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20180319/0d3d733f/attachment.html>