https://llvm.org/bugs/show_bug.cgi?id=28751
Bug ID: 28751 Summary: MI Parser can't read in block frequencies Product: libraries Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Common Code Generator Code Assignee: unassignedb...@nondot.org Reporter: diana.pi...@linaro.org CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 16829 --> https://llvm.org/bugs/attachment.cgi?id=16829&action=edit mir file that can't be read by llc llc -mtriple=aarch64-unknown buggy.mir error: buggy.mir:50:39: unexpected character '/' successors: %bb.1.true(0x40000000 / 0x80000000 = 50.00%), %bb.2.false(0x40000000 / 0x80000000 = 50.00%) ^ LLVM ERROR: Unable to initialize machine function The input mir file was obtained by running llc -mtriple=aarch64-unknown -stop-after=block-placement <some .ll file> -o buggy.mir. If we remove the block frequencies from the file, it manages to read it, but the output that it produces also contains block frequencies, so it can't be read back in. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs