[LLVMbugs] [Bug 3896] New: Valgrind reports problems in llvm::RegsForValue:: getCopyFromRegs

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Mar 27 14:34:11 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=3896

           Summary: Valgrind reports problems in
                    llvm::RegsForValue::getCopyFromRegs
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


Valgrind reports the following for many codegen tests.  This one is for
test/CodeGen/ARM/2007-08-15-ReuseBug.ll:

Conditional jump or move depends on uninitialised value(s)                      
   at 0xCB0341: llvm::APInt::countLeadingOnes() const                           
   by 0x98279C: (within /usr/local/bin/llc)                                     
   by 0x98A06E: llvm::SelectionDAGLowering::getValue(llvm::Value const*)        
   by 0x9A2037: llvm::SelectionDAGLowering::visitBinary(llvm::User&, unsigned
int)
   by 0x9B72CB: llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*,
llvm::ilist_iterator<llvm::Instruction>,
llvm::ilist_iterator<llvm::Instruction>)
   by 0x9B7617: llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function&,
llvm::MachineFunction&, llvm::MachineModuleInfo*, llvm::DwarfWriter*,
llvm::TargetInstrInfo const&)
   by 0x9B8975: llvm::SelectionDAGISel::runOnFunction(llvm::Function&)
   by 0xC7DC38: llvm::FPPassManager::runOnFunction(llvm::Function&)
   by 0xC7E655: llvm::FunctionPassManagerImpl::run(llvm::Function&)
   by 0xC7E80A: llvm::FunctionPassManager::run(llvm::Function&)
   by 0x5083A0: main

And it calculates that the ultimate origin of this was:
 Uninitialised value was created by a stack allocation
   at 0x9B2D04: llvm::SelectionDAGISel::ComputeLiveOutVRegInfo()


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list