[LLVMbugs] [Bug 2228] New: Use of uninitialized value in findRegisterDefOperandIdx

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Apr 16 10:24:27 PDT 2008


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

           Summary: Use of uninitialized value in findRegisterDefOperandIdx
           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


Running test/CodeGen/X86/2008-03-23-DarwinAsmComments.ll under valgrind shows:

Conditional jump or move depends on uninitialised value(s)
   at 0x88B1F99: llvm::MachineInstr::findRegisterDefOperandIdx(unsigned, bool,
llvm::TargetRegisterInfo const*) const (MachineInstr.cpp:565)
   by 0x8904B38: llvm::MachineInstr::registerDefIsDead(unsigned,
llvm::TargetRegisterInfo const*) const (MachineInstr.h:169)
   by 0x88FF124:
llvm::SimpleRegisterCoalescing::runOnMachineFunction(llvm::MachineFunction&)
(SimpleRegisterCoalescing.cpp:1938)
   by 0x842728B: llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(MachineFunctionPass.h:41)
   by 0x8A3AAD6: llvm::FPPassManager::runOnFunction(llvm::Function&)
(PassManager.cpp:1178)
   by 0x8A3AD33: llvm::FunctionPassManagerImpl::run(llvm::Function&)
(PassManager.cpp:1133)
   by 0x8A3AE8A: llvm::FunctionPassManager::run(llvm::Function&)
(PassManager.cpp:1078)
   by 0x83D50CA: main (llc.cpp:296)


-- 
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