Issue 174586
Summary LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.buffer.wbinvl1
Labels new issue
Assignees
Reporter freelikeff
    PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Running pass 'CallGraph Pass Manager' on module 'ld-temp.o'.
1.	Running pass 'AMDGPU DAG->DAG Pattern Instruction Selection' on function '@_Z29mscclKernel_Sum_uint8_t_LL128P11ncclDevCommP9mscclAlgoP9mscclWork'
 #0 0x0000556156af7370 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x6a4370)
 #1 0x0000556156af4941 SignalHandler(int) Signals.cpp:0:0
 #2 0x00007f209211a050 (/lib/x86_64-linux-gnu/libc.so.6+0x3c050)
 #3 0x00007f2092168eec (/lib/x86_64-linux-gnu/libc.so.6+0x8aeec)
 #4 0x00007f2092119fb2 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3bfb2)
 #5 0x00007f2092104472 abort (/lib/x86_64-linux-gnu/libc.so.6+0x26472)
 #6 0x000055615696e823 llvm::DisplayGraph(llvm::StringRef, bool, llvm::GraphProgram::Name) (.cold) GraphWriter.cpp:0:0
 #7 0x0000556157e45073 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19f2073)
 #8 0x0000556157e4957d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19f657d)
 #9 0x0000556157e420a2 llvm::SelectionDAGISel::DoInstructionSelection() (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19ef0a2)
#10 0x0000556157e4e556 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19fb556)
#11 0x0000556157e50e1c llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19fde1c)
#12 0x0000556157e52cd0 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19ffcd0)
#13 0x0000556157e41c1d llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19eec1d)
#14 0x0000556158389239 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) MachineFunctionPass.cpp:0:0
#15 0x0000556159f6c802 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x3b19802)
#16 0x00005561595ed86a (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) CallGraphSCCPass.cpp:0:0
#17 0x0000556159f6d414 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x3b1a414)
#18 0x0000556158054544 codegen(CodegenConfig const&, llvm::TargetMachine*, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex const&) LTOBackend.cpp:0:0
#19 0x0000556158054c4b std::_Function_handler<void (), std::_Bind<splitCodeGen(CodegenConfig const&, llvm::TargetMachine*, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex const&)::'lambda'(std::unique_ptr<llvm::Module, std::default_delete<llvm::Module>>)::operator()(std::unique_ptr<llvm::Module, std::default_delete<llvm::Module>>) const::'lambda'(llvm::SmallString<0u> const&, unsigned int) (llvm::SmallString<0u>, unsigned int)>>::_M_invoke(std::_Any_data const&) LTOBackend.cpp:0:0
#20 0x0000556158028932 std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>>::_M_invoke(std::_Any_data const&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x1bd5932)
#21 0x0000556156b4207d std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x6ef07d)
#22 0x00007f209216c057 (/lib/x86_64-linux-gnu/libc.so.6+0x8e057)
#23 0x0000556158029da7 std::__future_base::_Deferred_state<std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>::_M_complete_async() (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x1bd6da7)
#24 0x0000556158029563 std::_Function_handler<void (), std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(std::function<void ()>, llvm::ThreadPoolTaskGroup*)::'lambda'()>::_M_invoke(std::_Any_data const&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x1bd6563)
#25 0x000055615a12189f llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x3cce89f)
#26 0x000055615a122213 void* llvm::thread::ThreadProxy<std::tuple<llvm::StdThreadPool::grow(int)::'lambda'()>>(void*) ThreadPool.cpp:0:0
#27 0x00007f20921671f5 (/lib/x86_64-linux-gnu/libc.so.6+0x891f5)
#28 0x00007f20921e78dc (/lib/x86_64-linux-gnu/libc.so.6+0x1098dc)
LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.buffer.wbinvl1
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Running pass 'CallGraph Pass Manager' on module 'ld-temp.o'.
1.	Running pass 'AMDGPU DAG->DAG Pattern Instruction Selection' on function '@_Z29mscclKernel_Sum_uint8_t_LL128P11ncclDevCommP9mscclAlgoP9mscclWork'
 #0 0x0000563d743e4370 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x6a4370)
 #1 0x0000563d743e1941 SignalHandler(int) Signals.cpp:0:0
 #2 0x00007f7930d15050 (/lib/x86_64-linux-gnu/libc.so.6+0x3c050)
 #3 0x00007f7930d63eec (/lib/x86_64-linux-gnu/libc.so.6+0x8aeec)
 #4 0x00007f7930d14fb2 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3bfb2)
 #5 0x00007f7930cff472 abort (/lib/x86_64-linux-gnu/libc.so.6+0x26472)
 #6 0x0000563d7425b823 llvm::DisplayGraph(llvm::StringRef, bool, llvm::GraphProgram::Name) (.cold) GraphWriter.cpp:0:0
 #7 0x0000563d75732073 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19f2073)
 #8 0x0000563d7573657d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19f657d)
 #9 0x0000563d7572f0a2 llvm::SelectionDAGISel::DoInstructionSelection() (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19ef0a2)
#10 0x0000563d7573b556 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19fb556)
#11 0x0000563d7573de1c llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19fde1c)
#12 0x0000563d7573fcd0 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19ffcd0)
#13 0x0000563d7572ec1d llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x19eec1d)
#14 0x0000563d75c76239 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) MachineFunctionPass.cpp:0:0
#15 0x0000563d77859802 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x3b19802)
#16 0x0000563d76eda86a (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) CallGraphSCCPass.cpp:0:0
#17 0x0000563d7785a414 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x3b1a414)
#18 0x0000563d75941544 codegen(CodegenConfig const&, llvm::TargetMachine*, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex const&) LTOBackend.cpp:0:0
#19 0x0000563d75941c4b std::_Function_handler<void (), std::_Bind<splitCodeGen(CodegenConfig const&, llvm::TargetMachine*, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex const&)::'lambda'(std::unique_ptr<llvm::Module, std::default_delete<llvm::Module>>)::operator()(std::unique_ptr<llvm::Module, std::default_delete<llvm::Module>>) const::'lambda'(llvm::SmallString<0u> const&, unsigned int) (llvm::SmallString<0u>, unsigned int)>>::_M_invoke(std::_Any_data const&) LTOBackend.cpp:0:0
#20 0x0000563d75915932 std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>>::_M_invoke(std::_Any_data const&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x1bd5932)
#21 0x0000563d7442f07d std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x6ef07d)
#22 0x00007f7930d67057 (/lib/x86_64-linux-gnu/libc.so.6+0x8e057)
#23 0x0000563d75916da7 std::__future_base::_Deferred_state<std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>::_M_complete_async() (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x1bd6da7)
#24 0x0000563d75916563 std::_Function_handler<void (), std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(std::function<void ()>, llvm::ThreadPoolTaskGroup*)::'lambda'()>::_M_invoke(std::_Any_data const&) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x1bd6563)
#25 0x0000563d77a0e89f llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/opt/rocm-7.1.0/lib/llvm/bin/lld+0x3cce89f)
#26 0x0000563d77a0f213 void* llvm::thread::ThreadProxy<std::tuple<llvm::StdThreadPool::grow(int)::'lambda'()>>(void*) ThreadPool.cpp:0:0
#27 0x00007f7930d621f5 (/lib/x86_64-linux-gnu/libc.so.6+0x891f5)
#28 0x00007f7930de28dc (/lib/x86_64-linux-gnu/libc.so.6+0x1098dc)
clang++: error: unable to execute command: Aborted (core dumped)
clang++: error: unable to execute command: Aborted (core dumped)
clang++: error: unable to execute command: Aborted (core dumped)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to