[LLVMbugs] [Bug 22364] New: Assertion during "Running pass 'X86 DAG->DAG Instruction Selection' on function '@_Z3foov'"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 27 18:21:11 PST 2015


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

            Bug ID: 22364
           Summary: Assertion during "Running pass 'X86 DAG->DAG
                    Instruction Selection' on function '@_Z3foov'"
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: rtrieu at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13745
  --> http://llvm.org/bugs/attachment.cgi?id=13745&action=edit
Run script

Assertion:
clang-3.5: ../include/llvm/CodeGen/SelectionDAGNodes.h:1355: int
llvm::ShuffleVectorSDNode::getMaskElt(unsigned int) const: Assertion `Idx <
getValueType(0).getVectorNumElements() && "Idx out of range!"' failed.


#7 0x8d02eb (llvm_build/bin/clang-3.5+0x8d02eb)
#8 0x17a151d (anonymous namespace)::DAGCombiner::visit(llvm::SDNode*)
(llvm_build/bin/clang-3.5+0x17a151d)
#9 0x1795fec (anonymous namespace)::DAGCombiner::combine(llvm::SDNode*)
(llvm_build/bin/clang-3.5+0x1795fec)
#10 0x17954cd llvm::SelectionDAG::Combine(llvm::CombineLevel,
llvm::AliasAnalysis&, llvm::CodeGenOpt::Level)
(llvm_build/bin/clang-3.5+0x17954cd)
#11 0x18a43d2 llvm::SelectionDAGISel::CodeGenAndEmitDAG()
(llvm_build/bin/clang-3.5+0x18a43d2)
#12 0x18a333e llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function
const&) (llvm_build/bin/clang-3.5+0x18a333e)
#13 0x18a03f4
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(llvm_build/bin/clang-3.5+0x18a03f4)
#14 0xca98f6 (anonymous
namespace)::X86DAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(llvm_build/bin/clang-3.5+0xca98f6)
#15 0xfb38dc llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(llvm_build/bin/clang-3.5+0xfb38dc)
#16 0x11f0af1 llvm::FPPassManager::runOnFunction(llvm::Function&)
(llvm_build/bin/clang-3.5+0x11f0af1)
#17 0x11f0d2b llvm::FPPassManager::runOnModule(llvm::Module&)
(llvm_build/bin/clang-3.5+0x11f0d2b)
#18 0x11f1205 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(llvm_build/bin/clang-3.5+0x11f1205)
#19 0x1961efd clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::StringRef, llvm::Module*, clang::BackendAction,
llvm::raw_ostream*) (llvm_build/bin/clang-3.5+0x1961efd)
#20 0x1956875 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(llvm_build/bin/clang-3.5+0x1956875)
#21 0x1eea4d3 clang::ParseAST(clang::Sema&, bool, bool)
(llvm_build/bin/clang-3.5+0x1eea4d3)
#22 0x16b445e clang::FrontendAction::Execute()
(llvm_build/bin/clang-3.5+0x16b445e)
#23 0x168603c clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(llvm_build/bin/clang-3.5+0x168603c)
#24 0x1739106 clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(llvm_build/bin/clang-3.5+0x1739106)
#25 0x6d3132 cc1_main(llvm::ArrayRef<char const*>, char const*, void*)
(llvm_build/bin/clang-3.5+0x6d3132)
#26 0x6d1e8c main (llvm_build/bin/clang-3.5+0x6d1e8c)


1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'm.cpp'.
4.    Running pass 'X86 DAG->DAG Instruction Selection' on function '@_Z3foov'
clang-3.5: error: unable to execute command: Aborted (core dumped)
clang-3.5: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.7.0 (trunk 227289)
Target: x86_64-unknown-linux-gnu
Thread model: posix

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150128/c24c01a9/attachment.html>


More information about the llvm-bugs mailing list