[LLVMbugs] [Bug 1693] New: SimplifySelectCC from visitZERO_EXTEND uses an uninitialized value

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Sep 21 07:56:06 PDT 2007


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

           Summary: SimplifySelectCC from visitZERO_EXTEND uses an
                    uninitialized value
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


Running valgrind on test/CodeGen/ARM/2007-05-22-tailmerge-3.ll gives:

Conditional jump or move depends on uninitialised value(s)
   at 0x85C674E: (anonymous
namespace)::DAGCombiner::SimplifySelectCC(llvm::SDOperand, llvm::SDOperand,
llvm::SDOperand, llvm::SDOperand, llvm::ISD::CondCode, bool)
(DAGCombiner.cpp:4433)
   by 0x85D0A64: (anonymous
namespace)::DAGCombiner::visitZERO_EXTEND(llvm::SDNode*) (DAGCombiner.cpp:2568)
   by 0x85DB1E9: (anonymous namespace)::DAGCombiner::visit(llvm::SDNode*)
(DAGCombiner.cpp:660)
   by 0x85DB7C5: (anonymous namespace)::DAGCombiner::Run(bool)
(DAGCombiner.cpp:578)
   by 0x85DBD2A: llvm::SelectionDAG::Combine(bool, llvm::AliasAnalysis&)
(DAGCombiner.cpp:4773)
   by 0x860B2BE: llvm::SelectionDAGISel::CodeGenAndEmitDAG(llvm::SelectionDAG&)
(SelectionDAGISel.cpp:4627)
   by 0x861F5D2: llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*,
llvm::MachineFunction&, llvm::FunctionLoweringInfo&)
(SelectionDAGISel.cpp:4664)
   by 0x8621211: llvm::SelectionDAGISel::runOnFunction(llvm::Function&)
(SelectionDAGISel.cpp:4365)
   by 0x8822027: llvm::FPPassManager::runOnFunction(llvm::Function&)
(PassManager.cpp:1168)
   by 0x8822285: llvm::FunctionPassManagerImpl::run(llvm::Function&)
(PassManager.cpp:1126)
   by 0x88223DB: llvm::FunctionPassManager::run(llvm::Function&)
(PassManager.cpp:1071)
   by 0x8352F6A: main (llc.cpp:295)

Reproduce using
llvm-as < 2007-05-22-tailmerge-3.ll | valgrind --tool=memcheck llc -march=arm
-enable-eh > /dev/null


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