[llvm-bugs] [Bug 29056] New: Assertion Failure

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 19 07:26:42 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=29056

            Bug ID: 29056
           Summary: Assertion Failure
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: TableGen
          Assignee: unassignedbugs at nondot.org
          Reporter: bobby.prani at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

clang-4.0:
/home/pranith/devops/code/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:3166:
llvm::SDValue llvm::SelectionDAG::getNode(unsigned int, const llvm::SDLoc&,
llvm::EVT, llvm::SDValue): Assertion `VT.getSi
zeInBits() == Operand.getValueType().getSizeInBits() && "Cannot BITCAST between
types of different sizes!"' failed.
#0 0x0000000001be5408 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/local/bin/clang-4.0+0x1be5408)
#1 0x0000000001be2ffe llvm::sys::RunSignalHandlers()
(/usr/local/bin/clang-4.0+0x1be2ffe)
#2 0x0000000001be3164 SignalHandler(int) (/usr/local/bin/clang-4.0+0x1be3164)
#3 0x00007fd71bd953d0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x113d0)
#4 0x00007fd71ab02418 gsignal
/build/glibc-GKVZIf/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0
#5 0x00007fd71ab0401a abort /build/glibc-GKVZIf/glibc-2.23/stdlib/abort.c:91:0
#6 0x00007fd71aafabd7 __assert_fail_base
/build/glibc-GKVZIf/glibc-2.23/assert/assert.c:92:0
#7 0x00007fd71aafac82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82)
#8 0x00000000022afa09 llvm::SelectionDAG::getNode(unsigned int, llvm::SDLoc
const&, llvm::EVT, llvm::SDValue) (/usr/local/bin/clang-4.0+0x22afa09)
#9 0x0000000002258acd getCopyToParts(llvm::SelectionDAG&, llvm::SDLoc const&,
llvm::SDValue, llvm::SDValue*, unsigned int, llvm::MVT, llvm::Value const*,
llvm::ISD::NodeType) (/usr/local/bin/clang-4.0+0x2258acd)
#10 0x0000000002258f93 llvm::RegsForValue::getCopyToRegs(llvm::SDValue,
llvm::SelectionDAG&, llvm::SDLoc const&, llvm::SDValue&, llvm::SDValue*,
llvm::Value const*, llvm::ISD::NodeType) const (/usr/local/bin/clan
g-4.0+0x2258f93)
#11 0x000000000227e748
llvm::SelectionDAGBuilder::visitInlineAsm(llvm::ImmutableCallSite)
(/usr/local/bin/clang-4.0+0x227e748)
#12 0x000000000228a081 llvm::SelectionDAGBuilder::visitCall(llvm::CallInst
const&) (/usr/local/bin/clang-4.0+0x228a081)
#13 0x000000000228ffa9 llvm::SelectionDAGBuilder::visit(llvm::Instruction
const&) (/usr/local/bin/clang-4.0+0x228ffa9)
#14 0x00000000022caa08
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&)
(/usr/local/bin/clang-4.0+0x22caa08)
#15 0x00000000022d2f5f
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/usr/local/bin/clang-4.0+0x22d2f5f)
#16 0x00000000022d52c8
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/usr/local/bin/clang-4.0+0x22d52c8)
#17 0x00000000011aacf4 (anonymous
namespace)::X86DAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/usr/local/bin/clang-4.0+0x11aacf4)
#18 0x0000000001558205
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/usr/local/bin/clang-4.0+0x1558205)
#19 0x0000000001810103 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/usr/local/bin/clang-4.0+0x1810103)
#20 0x00000000018101bb llvm::FPPassManager::runOnModule(llvm::Module&)
(/usr/local/bin/clang-4.0+0x18101bb)
#21 0x0000000001810861 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/usr/local/bin/clang-4.0+0x1810861)
#22 0x0000000001d5b355 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::DataLayout const&, llvm::Module*, clang::Back
endAction, std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >)
(/usr/local/bin/clang-4.0+0x1d5b355)
#23 0x000000000238a2b9
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(/usr/local/bin/clang-4.0+0x238a2b9)
#24 0x00000000026bf28a clang::ParseAST(clang::Sema&, bool, bool)
(/usr/local/bin/clang-4.0+0x26bf28a)
#25 0x000000000238aa29 clang::CodeGenAction::ExecuteAction()
(/usr/local/bin/clang-4.0+0x238aa29)
#26 0x0000000002093116 clang::FrontendAction::Execute()
(/usr/local/bin/clang-4.0+0x2093116)
#27 0x0000000002066406
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/local/bin/clang-4.0+0x2066406)
#28 0x000000000211d10c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/local/bin/clang-4.0+0x211d10c)
#29 0x000000000095d028 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/local/bin/clang-4.0+0x95d028)
#30 0x00000000008f8cdd main (/usr/local/bin/clang-4.0+0x8f8cdd)
#31 0x00007fd71aaed830 __libc_start_main
/build/glibc-GKVZIf/glibc-2.23/csu/../csu/libc-start.c:325:0
#32 0x00000000009597b9 _start (/usr/local/bin/clang-4.0+0x9597b9)
Stack dump:
0.      Program arguments: /usr/local/bin/clang-4.0 -cc1 -triple
i386-unknown-linux-gnu -emit-obj -disable-free -main-file-name test-i386.c
-mrelocation-model static -mthread-model posix -relaxed-aliasing -fmath-
errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu pentium4
-momit-leaf-frame-pointer -dwarf-column-info -debug-info-kind=limited
-dwarf-version=4 -debugger-tuning=gdb -resource-dir /usr/local
/bin/../lib/clang/4.0.0 -I /home/pranith/devops/code/qemu/tcg -I
/home/pranith/devops/code/qemu/tcg/i386 -I
/home/pranith/devops/code/qemu/linux-headers -I
/home/pranith/devops/code/qemu/build/linux-headers -I . 
-I /home/pranith/devops/code/qemu -I /home/pranith/devops/code/qemu/include -I
. -I . -I /home/pranith/devops/code/qemu/build -internal-isystem
/usr/local/include -internal-isystem /usr/local/bin/../lib/clang/4.0
.0/include -internal-externc-isystem /include -internal-externc-isystem
/usr/include -O2 -Wall -fdebug-compilation-dir
/mnt/devops/code/qemu/tests/tcg/i386 -ferror-limit 19 -fmessage-length 212
-fobjc-runtime=gcc
 -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-o /tmp/test-i386-3ce713.o -x c ./test-i386.c 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module './test-i386.c'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@test_sse'
clang-4.0: error: unable to execute command: Aborted (core dumped)
clang-4.0: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0 (https://github.com/llvm-mirror/clang
51a308402a2bb754ced6a783afe977c5b79b82a0) (https://github.com/llvm-mirror/llvm
6b87ada911a083c617b1a015c4142258367d16c9)
Target: i386-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/bin
clang-4.0: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-4.0: note: diagnostic msg: 
********************

-- 
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/20160819/9a5e7c97/attachment.html>


More information about the llvm-bugs mailing list