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_iterator<llvm::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)
Created attachment 714 [details] bugpoint-reduced-simplified.bc
This is in the common code gen library.
Evan, can you take a look? Thanks, -Chris
This only crashes for me with -enable-tail-merge; it may be caused or exposed by my change in that area.
ok, Dale, plz investigate.
Fixed. http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070326/046281.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070326/046282.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070326/046284.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070326/046285.html