[llvm-bugs] [Bug 28751] New: MI Parser can't read in block frequencies
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jul 28 03:35:09 PDT 2016
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: unassignedbugs at nondot.org
Reporter: diana.picus at linaro.org
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160728/dcfd8d9a/attachment.html>
More information about the llvm-bugs
mailing list