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

assertion failed in RegisterScavenging #1638

Closed
llvmbot opened this issue Mar 22, 2007 · 5 comments
Closed

assertion failed in RegisterScavenging #1638

llvmbot opened this issue Mar 22, 2007 · 5 comments
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm:codegen

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Mar 22, 2007

Bugzilla Link 1266
Resolution FIXED
Resolved on Feb 22, 2010 12:45
Version trunk
OS Linux
Attachments bugpoint-reduced-simplified.bc
Reporter LLVM Bugzilla Contributor

Extended Description

laurov@edgy-laptop:/tmp$ llc bugpoint-reduced-simplified.bc
llc: /home/laurov/llvm/llvm/lib/CodeGen/RegisterScavenging.cpp:138: void
llvm::RegScavenger::forward(): Assertion `isUsed(Reg)' failed.
llc((anonymous namespace)::PrintStackTrace()+0x1a)[0x88b929a]
llc((anonymous namespace)::SignalHandler(int)+0x112)[0x88b9560]
[0xffffe420]
/lib/tls/i686/cmov/libc.so.6(abort+0x103)[0xb7da1ef3]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xfb)[0xb7d99dbb]
llc(llvm::RegScavenger::forward()+0x389)[0x8723507]
llc(llvm::RegScavenger::forward(llvm::ilist_iteratorllvm::MachineInstr)+0x13)[0x84475c3]
llc[0x870dd3e]
llc[0x870fcf2]
llc(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x28)[0x83f802e]
llc(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x13a)[0x8845ac6]
llc(llvm::FunctionPassManagerImpl::run(llvm::Function&)+0x6e)[0x8845d4a]
llc(llvm::FunctionPassManager::run(llvm::Function&)+0x88)[0x8845e0a]
llc(main+0xbaa)[0x83c920e]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7d8c8cc]
llc(__gxx_personality_v0+0x17d)[0x83c7581]
Aborted (core dumped)

@llvmbot
Copy link
Collaborator Author

llvmbot commented Mar 22, 2007

This is in the common code gen library.

@lattner
Copy link
Collaborator

lattner commented Mar 22, 2007

Evan, can you take a look? Thanks,

-Chris

@llvmbot
Copy link
Collaborator Author

llvmbot commented Mar 22, 2007

This only crashes for me with -enable-tail-merge; it may be caused or exposed by my change in that area.

@lattner
Copy link
Collaborator

lattner commented Mar 25, 2007

ok, Dale, plz investigate.

@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 llvm:codegen
Projects
None yet
Development

No branches or pull requests

2 participants