Created attachment 16829 [details] 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.
*** Bug 28774 has been marked as a duplicate of this bug. ***
This should be fixed by r287368