[LLVMbugs] [Bug 18162] New: Assertion `In->getValueType(0).isVector() && "Must concat vectors"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 6 15:33:06 PST 2013


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

            Bug ID: 18162
           Summary: Assertion `In->getValueType(0).isVector() && "Must
                    concat vectors"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11682
  --> http://llvm.org/bugs/attachment.cgi?id=11682&action=edit
Preprocessed input

Compiling the attached preprocessed file like this:

clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -std=gnu++11 -x c++
/tmp/crash.ii

clang version 3.5 (trunk 196608) (llvm/trunk 196615)

Yields the assertion failure below. I haven't had time to reduce the input file
yet.

clang:
/usr/local/google/work/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:9862:
llvm::SDValue <anonymous
namespace>::DAGCombiner::visitCONCAT_VECTORS(llvm::SDNode *): Assertion
`In->getValueType(0).isVector() && "Must concat vectors"' failed.
0  clang           0x00000000021d7345 llvm::sys::PrintStackTrace(_IO_FILE*) +
37
1  clang           0x00000000021d7783
2  libpthread.so.0 0x00007f24723c8cb0
3  libc.so.6       0x00007f24711ea425 gsignal + 53
4  libc.so.6       0x00007f24711edb8b abort + 379
5  libc.so.6       0x00007f24711e30ee
6  libc.so.6       0x00007f24711e3192
7  clang           0x0000000001a618de
8  clang           0x0000000001a3de5c
9  clang           0x0000000001a3d7fb
llvm::SelectionDAG::Combine(llvm::CombineLevel, llvm::AliasAnalysis&,
llvm::CodeGenOpt::Level) + 843
10 clang           0x0000000001b05ce6
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 838
11 clang           0x0000000001b050e8
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 6376
12 clang           0x0000000001b02aa4
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1380
13 clang           0x0000000001c5d7bc
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 124
14 clang           0x000000000216c0fa
llvm::FPPassManager::runOnFunction(llvm::Function&) + 362
15 clang           0x000000000216c38b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
16 clang           0x000000000216c927
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 999
17 clang           0x000000000085142d
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 6045
18 clang           0x000000000084f096
19 clang           0x00000000009c0cc3 clang::ParseAST(clang::Sema&, bool, bool)
+ 515
20 clang           0x000000000084e312 clang::CodeGenAction::ExecuteAction() +
514
21 clang           0x00000000006c39d0 clang::FrontendAction::Execute() + 112
22 clang           0x00000000006a0d3d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 925
23 clang           0x0000000000688250
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2880
24 clang           0x00000000006804cf cc1_main(char const**, char const**, char
const*, void*) + 687
25 clang           0x00000000006864b0 main + 9184
26 libc.so.6       0x00007f24711d576d __libc_start_main + 237
27 clang           0x0000000000680159
Stack dump:
0.      Program arguments: /work/llvm/build.release/Release+Asserts/bin/clang
-cc1 -triple x86_64-unknown-linux-gnu -emit-obj -std=gnu++11 -x c++
/tmp/crash.ii
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module '/tmp/crash.ii'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_ZNK2cc10TileBundle8Iterator8priorityENS_9WhichTreeE'
/tmp/crash2.sh: line 1: 24941 Aborted                 (core dumped)
"/work/llvm/build.release/Release+Asserts/bin/clang" -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -std=gnu++11 -x c++ /tmp/crash.ii

-- 
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/20131206/2df0306f/attachment.html>


More information about the llvm-bugs mailing list