[llvm-testresults] Grawp-NO-LTO-PIC i386 nightly tester results

Duncan Sands baldrick at free.fr
Mon Jun 16 02:54:10 PDT 2008


Hi Evan,

> Can anyone reproduce this? Try make ENABLE_OPTIMIZED=1 DISABLE_LTO=1  
> TARGET_FLAGS= TARGET_LLCFLAGS="-relocation-model=pic -disable-fp-elim"

running this
  llc -relocation-model=pic -disable-fp-elim -f Output/oggenc.llvm.bc -o Output/oggenc.llc.s
under valgrind gives:

Invalid read of size 8
   at 0xB7C3C8: llvm::MachineOperand::getParent() (MachineOperand.h:116)
   by 0xD55B74: UpdateKills(llvm::MachineInstr&, llvm::BitVector&, std::vector<llvm::MachineOperand*, std::allocator<llvm::MachineOperand*> >&) (VirtRegMap.cpp:642)
   by 0xD5BFB3: (anonymous namespace)::LocalSpiller::RewriteMBB(llvm::MachineBasicBlock&, llvm::VirtRegMap&) (VirtRegMap.cpp:1823)
   by 0xD5C1BF: (anonymous namespace)::LocalSpiller::runOnMachineFunction(llvm::MachineFunction&, llvm::VirtRegMap&) (VirtRegMap.cpp:333)
   by 0xD23B82: (anonymous namespace)::RALinScan::runOnMachineFunction(llvm::MachineFunction&) (RegAllocLinearScan.cpp:289)
   by 0x833E00: llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (MachineFunctionPass.h:41)
   by 0xE8A842: llvm::FPPassManager::runOnFunction(llvm::Function&) (PassManager.cpp:1194)
   by 0xE8AA67: llvm::FunctionPassManagerImpl::run(llvm::Function&) (PassManager.cpp:1149)
   by 0xE8ABC5: llvm::FunctionPassManager::run(llvm::Function&) (PassManager.cpp:1094)
   by 0x7D2D9C: main (llc.cpp:302)
 Address 0x78888f0 is 88 bytes inside a block of size 120 free'd
   at 0x4C23F5C: operator delete(void*) (vg_replace_malloc.c:342)
   by 0x8D8A8C: __gnu_cxx::new_allocator<llvm::MachineOperand>::deallocate(llvm::MachineOperand*, unsigned long) (new_allocator.h:97)
   by 0x8D8ABE: std::_Vector_base<llvm::MachineOperand, std::allocator<llvm::MachineOperand> >::_M_deallocate(llvm::MachineOperand*, unsigned long) (stl_vector.h:134)
   by 0xCCE116: std::_Vector_base<llvm::MachineOperand, std::allocator<llvm::MachineOperand> >::~_Vector_base() (stl_vector.h:120)
   by 0xCCE16C: std::vector<llvm::MachineOperand, std::allocator<llvm::MachineOperand> >::~vector() (stl_vector.h:268)
   by 0xCF5375: llvm::MachineInstr::~MachineInstr() (MachineInstr.cpp:331)
   by 0x83C6B4: llvm::iplist<llvm::MachineInstr, llvm::ilist_traits<llvm::MachineInstr> >::erase(llvm::ilist_iterator<llvm::MachineInstr>) (ilist.h:377)
   by 0x83C6E0: llvm::MachineBasicBlock::erase(llvm::ilist_iterator<llvm::MachineInstr>) (MachineBasicBlock.h:263)
   by 0xD589CA: (anonymous namespace)::LocalSpiller::CommuteToFoldReload(llvm::MachineBasicBlock&, llvm::ilist_iterator<llvm::MachineInstr>&, unsigned, unsigned, int, llvm::BitVector&, std::vector<llvm::MachineOperand*, std::allocator<llvm::MachineOperand*> >&, llvm::TargetRegisterInfo const*, llvm::VirtRegMap&) (VirtRegMap.cpp:1062)
   by 0xD5B62F: (anonymous namespace)::LocalSpiller::RewriteMBB(llvm::MachineBasicBlock&, llvm::VirtRegMap&) (VirtRegMap.cpp:1690)
   by 0xD5C1BF: (anonymous namespace)::LocalSpiller::runOnMachineFunction(llvm::MachineFunction&, llvm::VirtRegMap&) (VirtRegMap.cpp:333)
   by 0xD23B82: (anonymous namespace)::RALinScan::runOnMachineFunction(llvm::MachineFunction&) (RegAllocLinearScan.cpp:289)

Later on I see complaints about LSR and CodeGenPrepare, but the above error (and others)
come first.

Ciao,

Duncan.



More information about the llvm-testresults mailing list