Skip to content

Instantly share code, notes, and snippets.

@alexcrichton alexcrichton/-
Created Jul 21, 2017

Embed
What would you like to do?
llc: /home/alex/code/rust3/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:616: void getCopyToPartsVector(llvm::SelectionDAG&, const llvm::SDLoc&, llvm::SDValue, llvm::SDValue*, unsigned int, llvm::MVT, const llvm::Value*, bool): Assertion `RegisterVT == PartVT && "Part type doesn't match vector breakdown!"' failed.
#0 0x0000000001bc846a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1bc846a)
#1 0x0000000001bc61ce llvm::sys::RunSignalHandlers() (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1bc61ce)
#2 0x0000000001bc6342 SignalHandler(int) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1bc6342)
#3 0x00007fc18e3bf390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#4 0x00007fc18d574428 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x35428)
#5 0x00007fc18d57602a abort (/lib/x86_64-linux-gnu/libc.so.6+0x3702a)
#6 0x00007fc18d56cbd7 (/lib/x86_64-linux-gnu/libc.so.6+0x2dbd7)
#7 0x00007fc18d56cc82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82)
#8 0x0000000001a10e35 getCopyToPartsVector(llvm::SelectionDAG&, llvm::SDLoc const&, llvm::SDValue, llvm::SDValue*, unsigned int, llvm::MVT, llvm::Value const*, bool) [clone .constprop.1377] (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1a10e35)
#9 0x0000000001a10f50 getCopyToParts(llvm::SelectionDAG&, llvm::SDLoc const&, llvm::SDValue, llvm::SDValue*, unsigned int, llvm::MVT, llvm::Value const*, llvm::ISD::NodeType, bool) [clone .constprop.1375] (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1a10f50)
#10 0x0000000001a11d44 llvm::RegsForValue::getCopyToRegs(llvm::SDValue, llvm::SelectionDAG&, llvm::SDLoc const&, llvm::SDValue&, llvm::SDValue*, llvm::Value const*, llvm::ISD::NodeType) const (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1a11d44)
#11 0x0000000001a483da llvm::SelectionDAGBuilder::CopyValueToVirtualRegister(llvm::Value const*, unsigned int) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1a483da)
#12 0x0000000001a48791 llvm::SelectionDAGBuilder::CopyToExportRegsIfNeeded(llvm::Value const*) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1a48791)
#13 0x0000000001a4ec1f llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1a4ec1f)
#14 0x0000000001a8fa39 llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, true, false, void>, false, true>, llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, true, false, void>, false, true>, bool&) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1a8fa39)
#15 0x0000000001a950a9 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1a950a9)
#16 0x0000000001a97059 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) [clone .part.843] [clone .constprop.868] (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x1a97059)
#17 0x0000000000c81e5a llvm::MipsDAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0xc81e5a)
#18 0x00000000013971d5 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x13971d5)
#19 0x000000000169ece3 llvm::FPPassManager::runOnFunction(llvm::Function&) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x169ece3)
#20 0x000000000169edac llvm::FPPassManager::runOnModule(llvm::Module&) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x169edac)
#21 0x000000000169e84d llvm::legacy::PassManagerImpl::run(llvm::Module&) (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x169e84d)
#22 0x00000000006f61e3 compileModule(char**, llvm::LLVMContext&) [clone .constprop.378] (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x6f61e3)
#23 0x000000000068946c main (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x68946c)
#24 0x00007fc18d55f830 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20830)
#25 0x00000000006e8fc9 _start (./build/x86_64-unknown-linux-gnu/llvm/bin/llc+0x6e8fc9)
Stack dump:
0. Program arguments: ./build/x86_64-unknown-linux-gnu/llvm/bin/llc -filetype=obj simd.0.ll -mtriple=mips-unknown-linux-gnu
1. Running pass 'Function Pass Manager' on module 'simd.0.ll'.
2. Running pass 'MIPS DAG->DAG Pattern Instruction Selection' on function '@_ZN4simd3foo17hebb969c5fb39a194E'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.