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

llc -shed=none asserts in LVA #1231

Closed
llvmbot opened this issue Aug 1, 2006 · 4 comments
Closed

llc -shed=none asserts in LVA #1231

llvmbot opened this issue Aug 1, 2006 · 4 comments
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead tools:llc

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Aug 1, 2006

Bugzilla Link 859
Resolution FIXED
Resolved on Mar 06, 2010 13:59
Version trunk
OS MacOS X
Attachments simple c "main" program to reproduce problem
Reporter LLVM Bugzilla Contributor
CC @lattner

Extended Description

Running any .bc file through llc with the null (BFS) scheduler causes an assertion in LVA.

LiveVariables.cpp:126: failed assertion `VRInfo.DefInst && "Register use before def!"'

or

LiveInterval.cpp:283: failed assertion `B->end <= Start && "Cannot overlap two LiveRanges with differing
ValID's" " (did you def the same reg twice in a MachineInstr?)"'

Are the two I've seen.

@lattner
Copy link
Collaborator

lattner commented Aug 3, 2006

Jim, can you take a look at this? you wrote the bfs scheduler, right?

Thanks,

-Chris

@llvmbot
Copy link
Collaborator Author

llvmbot commented Aug 3, 2006

Seems simple/none/nointer/list-td all produce the same problem.

@lattner
Copy link
Collaborator

lattner commented Aug 17, 2006

Is this fixed?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Aug 18, 2006

Copy the liveins for the first block.

Regression test 2006-07-03-schedulers.ll added.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 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 compile-fail Use [accepts-invalid] and [rejects-valid] instead tools:llc
Projects
None yet
Development

No branches or pull requests

2 participants