-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Weird Failure: test/Regression/CodeGen/Generic/print-arith-int.ll #1409
Comments
*** Bug #1408 has been marked as a duplicate of this bug. *** |
This problem is hard to track down because it is probably dependent on memory
|
This recent patch in VirtRegMap could be to blame: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061204/040942.html Evan? |
Or possibly these: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061204/040943.html |
This is now breaking the llvm-gcc build: /proj/llvm/cfe/build-3/gcc/xgcc -B/proj/llvm/cfe/build-3/gcc/ |
It turns out that this patch: I've reverted it. Evan: please test your patches with at least llvm/test before committing. |
First of all. I did run the dejagnu tests. Everything passes for me. I've tried the test with both Mac and Linux triple. Passes everytime. As you Your fix is not right. That change is not wrong. It's possible that it could |
That's weird. It fails for me every time when the input to llc is stdin, as in As for the patch, reverting it made it not fail. I tried it several times. If you're inclined to re-apply the patch, please note that it will break my Thanks, Evan. |
Works okay now, Evan. Thanks! |
Traversal of an expression can cause subexpressions to be copied onto
Extended Description
This test started failing on the cvs head today:
llc: /proj/llvm/llvm-1/include/llvm/Target/MRegisterInfo.h:236: static bool
llvm::MRegisterInfo::isVirtualRegister(unsigned int): Assertion `Reg && "this is
not a register!"' failed.
llc((anonymous namespace)::PrintStackTrace()+0x1a)[0x886f136]
llc((anonymous namespace)::SignalHandler(int)+0x110)[0x886f45e]
[0x346420]
/lib/libc.so.6(abort+0x101)[0x15e4f1]
/lib/libc.so.6(__assert_fail+0xfd)[0x156859]
llc(llvm::MRegisterInfo::isVirtualRegister(unsigned int)+0x30)[0x84e838a]
llc(llvm::VirtRegMap::getStackSlot(unsigned int) const+0x11)[0x86e40eb]
llc(llvm::VirtRegMap::hasStackSlot(unsigned int) const+0x18)[0x86e4146]
llc[0x86e2083]
llc[0x86e9396]
llc[0x86cee7d]
llc(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x28)[0x83edb7c]
llc(llvm::FunctionPassManagerT::runPass(llvm::FunctionPass*,
llvm::Function*)+0x1f)[0x87f25e3]
llc(llvm::PassManagerTllvm::FTraits::runPasses(llvm::Function*,
std::map<llvm::Pass*, std::vector<llvm::Pass*, std::allocatorllvm::Pass* >,
std::lessllvm::Pass*, std::allocator<std::pair<llvm::Pass* const,
std::vector<llvm::Pass*, std::allocatorllvm::Pass* > > > >&)+0x12a)[0x8803960]
llc(llvm::PassManagerTllvm::FTraits::runOnUnit(llvm::Function*)+0x184)[0x8806114]
llc(llvm::FunctionPassManagerT::runOnFunction(llvm::Function&)+0x23)[0x87f26c5]
llc(llvm::FunctionPassManager::run(llvm::Function&)+0x91)[0x87f0abb]
llc(main+0x925)[0x83dcfbd]
/lib/libc.so.6(__libc_start_main+0xdc)[0x14a4e4]
llc(__gxx_personality_v0+0x16d)[0x83dbd61]
Aborted
The text was updated successfully, but these errors were encountered: