[llvm] DAG: Handle poison in m_Undef (PR #168288)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 21 10:40:16 PST 2025
mshockwave wrote:
> 2025-11-21T18:37:06.9642153Z ld.lld: error: duplicate symbol: llvm::SDPatternMatch::m_Undef()
2025-11-21T18:37:06.9642788Z >>> defined at SDPatternMatch.h:225 (/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/SDPatternMatch.h:225)
2025-11-21T18:37:06.9643531Z >>> AArch64ISelLowering.cpp.o:(llvm::SDPatternMatch::m_Undef()) in archive lib/libLLVMAArch64CodeGen.a
2025-11-21T18:37:06.9644294Z >>> defined at SDPatternMatch.h:225 (/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/SDPatternMatch.h:225)
2025-11-21T18:37:06.9645161Z >>> SIISelLowering.cpp.o:(.text._ZN4llvm14SDPatternMatch7m_UndefEv+0x0) in archive lib/libLLVMAMDGPUCodeGen.a
I guess you need to add `inline`.
https://github.com/llvm/llvm-project/pull/168288
More information about the llvm-commits
mailing list