Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MI Parser can't read in block frequencies #29123

Closed
rovka opened this issue Jul 28, 2016 · 3 comments
Closed

MI Parser can't read in block frequencies #29123

rovka opened this issue Jul 28, 2016 · 3 comments
Labels
bugzilla Issues migrated from bugzilla llvm:codegen

Comments

@rovka
Copy link
Collaborator

rovka commented Jul 28, 2016

Bugzilla Link 28751
Resolution FIXED
Resolved on Nov 18, 2016 13:51
Version trunk
OS Linux
Attachments mir file that can't be read by llc
CC @ddcc,@MatzeB,@qcolombet

Extended Description

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.

@majnemer
Copy link
Mannequin

majnemer mannequin commented Jul 30, 2016

*** Bug llvm/llvm-bugzilla-archive#28774 has been marked as a duplicate of this bug. ***

@llvmbot
Copy link
Collaborator

llvmbot commented Nov 18, 2016

This should be fixed by r287368

@majnemer
Copy link
Mannequin

majnemer mannequin commented Nov 26, 2021

mentioned in issue llvm/llvm-bugzilla-archive#28774

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla llvm:codegen
Projects
None yet
Development

No branches or pull requests

2 participants