LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 1406 - Assertion failed in RegisterScavenging
Summary: Assertion failed in RegisterScavenging
Status: RESOLVED FIXED
Alias: None
Product: new-bugs
Classification: Unclassified
Component: new bugs (show other bugs)
Version: unspecified
Hardware: PC All
: P normal
Assignee: Evan Cheng
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 15:17 PDT by Lauro Venancio
Modified: 2010-02-22 12:45 PST (History)
3 users (show)

See Also:
Fixed By Commit(s):


Attachments
bugpoint-reduced-simplified.bc (1.29 KB, application/octet-stream)
2007-05-09 15:18 PDT, Lauro Venancio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Venancio 2007-05-09 15:17:41 PDT
laurov@laurov-desktop:~/ffmpeg/build_llvm_arm/libavcodec$ llc <
bugpoint-reduced-simplified.bc 
llc: /home/laurov/llvm/llvm/lib/CodeGen/RegisterScavenging.cpp:113: void
llvm::RegScavenger::forward(): Assertion `false' failed.
llc((anonymous namespace)::PrintStackTrace()+0x1a)[0x8921d16]
llc((anonymous namespace)::SignalHandler(int)+0x112)[0x8921fdc]
[0xffffe420]
/lib/tls/i686/cmov/libc.so.6(abort+0x101)[0xb7d45641]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xfb)[0xb7d3d43b]
llc(llvm::RegScavenger::forward()+0x1e5)[0x879427b]
llc(llvm::RegScavenger::forward(llvm::ilist_iterator<llvm::MachineInstr>)+0x13)[0x84962a5]
llc[0x877e0b7]
llc[0x8780b42]
llc(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x28)[0x8443ada]
llc(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x13a)[0x88bd4d8]
llc(llvm::FunctionPassManagerImpl::run(llvm::Function&)+0x6e)[0x88bd75c]
llc(llvm::FunctionPassManager::run(llvm::Function&)+0x88)[0x88bd8aa]
llc(main+0x97d)[0x84133dd]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7d2febc]
llc[0x8411b31]
Aborted (core dumped)
Comment 1 Lauro Venancio 2007-05-09 15:18:29 PDT
Created attachment 839 [details]
bugpoint-reduced-simplified.bc

test case