[llvm] [RISCV][llvm] Simplify bf16 _ALT suffix in VSD/VVL patterns. NFC (PR #176744)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 19 05:01:46 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 80753 tests passed
* 1992 tests skipped

All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.

<details>
<summary>[code=4294967295] tools/clang/unittests/Analysis/Scalable/ClangScalableAnalysisTests.exe</summary>

```
FAILED: [code=4294967295] tools/clang/unittests/Analysis/Scalable/ClangScalableAnalysisTests.exe
cmd.exe /C "cd . && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E vs_link_exe --intdir=tools\clang\unittests\Analysis\Scalable\CMakeFiles\ClangScalableAnalysisTests.dir --rc="C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe" --mt="C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\mt.exe" --manifests  -- C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\ClangScalableAnalysisTests.rsp  /out:tools\clang\unittests\Analysis\Scalable\ClangScalableAnalysisTests.exe /implib:tools\clang\unittests\Analysis\Scalable\ClangScalableAnalysisTests.lib /pdb:tools\clang\unittests\Analysis\Scalable\ClangScalableAnalysisTests.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console  && cd ."
LINK: command "C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\ClangScalableAnalysisTests.rsp /out:tools\clang\unittests\Analysis\Scalable\ClangScalableAnalysisTests.exe /implib:tools\clang\unittests\Analysis\Scalable\ClangScalableAnalysisTests.lib /pdb:tools\clang\unittests\Analysis\Scalable\ClangScalableAnalysisTests.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console" failed (exit code 1) with the following output:
lld-link: error: undefined symbol: public: void __cdecl clang::SourceLocation::print(class llvm::raw_ostream &, class clang::SourceManager const &) const
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: virtual void __cdecl clang::PrettyDeclStackTraceEntry::print(class llvm::raw_ostream &) const)
>>> referenced by clangAST.lib(DeclBase.cpp.obj):(public: virtual void __cdecl clang::PrettyStackTraceDecl::print(class llvm::raw_ostream &) const)
>>> referenced by clangLex.lib(Preprocessor.cpp.obj):(public: void __cdecl clang::Preprocessor::DumpToken(class clang::Token const &, bool) const)
>>> referenced 8 more times

lld-link: error: undefined symbol: public: enum clang::ReservedIdentifierStatus __cdecl clang::IdentifierInfo::isReserved(class clang::LangOptions const &) const
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: enum clang::ReservedIdentifierStatus __cdecl clang::NamedDecl::isReserved(class clang::LangOptions const &) const)
>>> referenced by clangLex.lib(PPDirectives.cpp.obj):(enum MacroDiag __cdecl shouldWarnOnMacroDef(class clang::Preprocessor &, class clang::IdentifierInfo *))
>>> referenced by clangLex.lib(PPDirectives.cpp.obj):(enum MacroDiag __cdecl shouldWarnOnMacroUndef(class clang::Preprocessor &, class clang::IdentifierInfo *))
>>> referenced 2 more times

lld-link: error: undefined symbol: public: char const * __cdecl clang::Builtin::Context::getAttributesString(unsigned int) const
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: unsigned int __cdecl clang::FunctionDecl::getBuiltinID(bool) const)
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: unsigned int __cdecl clang::FunctionDecl::getBuiltinID(bool) const)
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: bool __cdecl clang::Builtin::Context::isPredefinedLibFunction(unsigned int) const)
>>> referenced 41 more times

lld-link: error: undefined symbol: private: unsigned int __cdecl clang::AttributeCommonInfo::calculateAttributeSpellingListIndex(void) const
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: bool __cdecl clang::FunctionDecl::isInExternCContext(void) const)
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: bool __cdecl clang::FunctionDecl::isReferenceableKernel(void) const)
>>> referenced by clangAST.lib(AttrImpl.cpp.obj):(public: void __cdecl clang::LoopHintAttr::printPrettyPragma(class llvm::raw_ostream &, struct clang::PrintingPolicy const &) const)
>>> referenced 1072 more times

lld-link: error: undefined symbol: public: bool __cdecl clang::SourceManager::isBeforeInTranslationUnit(class clang::SourceLocation, class clang::SourceLocation) const
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: class clang::SourceRange __cdecl clang::FunctionDecl::getReturnTypeSourceRange(void) const)
>>> referenced by clangAST.lib(DeclPrinter.cpp.obj):(public: class std::optional<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>> __cdecl `anonymous namespace'::DeclPrinter::prettyPrintAttributes(class clang::Decl const *, enum `anonymous namespace'::DeclPrinter::AttrPosAsWritten))
>>> referenced by clangLex.lib(Preprocessor.cpp.obj):(public: class llvm::StringRef __cdecl clang::Preprocessor::getLastMacroWithSpelling(class clang::SourceLocation, class llvm::ArrayRef<class clang::TokenValue>) const)
>>> referenced 152 more times

lld-link: error: undefined symbol: public: class clang::PresumedLoc __cdecl clang::SourceManager::getPresumedLoc(class clang::SourceLocation, bool) const
>>> referenced by clangAST.lib(Decl.cpp.obj):(protected: void __cdecl clang::TagDecl::printAnonymousTagDecl(class llvm::raw_ostream &, struct clang::PrintingPolicy const &) const)
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: class clang::APValue __cdecl clang::SourceLocExpr::EvaluateInContext(class clang::ASTContext const &, class clang::Expr const *) const)
>>> referenced by clangLex.lib(Lexer.cpp.obj):(public: static class llvm::StringRef __cdecl clang::Lexer::getImmediateMacroNameForDiagnostics(class clang::SourceLocation, class clang::SourceManager const &, class clang::LangOptions const &))
>>> referenced 57 more times

lld-link: error: undefined symbol: protected: __cdecl clang::DiagnosticBuilder::DiagnosticBuilder(class clang::DiagnosticsEngine *, class clang::SourceLocation, unsigned int)
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: bool __cdecl clang::RecordDecl::mayInsertExtraPadding(bool) const)
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: bool __cdecl clang::RecordDecl::mayInsertExtraPadding(bool) const)
>>> referenced by clangFrontend.lib(ASTUnit.cpp.obj):(public: static class std::unique_ptr<class clang::ASTUnit, struct std::default_delete<class clang::ASTUnit>> __cdecl clang::ASTUnit::LoadFromASTFile(class llvm::StringRef, class clang::PCHContainerReader const &, enum clang::ASTUnit::WhatToLoad, class llvm::IntrusiveRefCntPtr<class llvm::vfs::FileSystem>, class std::shared_ptr<class clang::DiagnosticOptions>, class llvm::IntrusiveRefCntPtr<class clang::DiagnosticsEngine>, class clang::FileSystemOptions const &, class clang::HeaderSearchOptions const &, class clang::LangOptions const *, bool, enum clang::CaptureDiagsKind, bool, bool))
>>> referenced 2275 more times

lld-link: error: undefined symbol: public: bool __cdecl clang::NoSanitizeList::containsLocation(class clang::SanitizerMask, class clang::SourceLocation, class llvm::StringRef) const
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: bool __cdecl clang::RecordDecl::mayInsertExtraPadding(bool) const)

lld-link: error: undefined symbol: public: bool __cdecl clang::NoSanitizeList::containsType(class clang::SanitizerMask, class llvm::StringRef, class llvm::StringRef) const
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: bool __cdecl clang::RecordDecl::mayInsertExtraPadding(bool) const)
>>> referenced by clangAST.lib(ASTContext.cpp.obj):(public: bool __cdecl clang::ASTContext::isTypeIgnoredBySanitizer(class clang::SanitizerMask const &, class clang::QualType const &) const)

lld-link: error: undefined symbol: protected: bool __cdecl clang::DiagnosticsEngine::EmitDiagnostic(class clang::DiagnosticBuilder const &, bool)
>>> referenced by clangAST.lib(Decl.cpp.obj):(public: __cdecl clang::DiagnosticBuilder::~DiagnosticBuilder(void))
>>> referenced by clangFrontend.lib(ASTUnit.cpp.obj)
>>> referenced by clangTooling.lib(Tooling.cpp.obj)
>>> referenced 30 more times

lld-link: error: undefined symbol: private: class clang::SourceLocation __cdecl clang::SourceManager::getSpellingLocSlowCase(class clang::SourceLocation) const
>>> referenced by clangAST.lib(Decl.cpp.obj):(private: bool __cdecl clang::TypedefNameDecl::isTransparentTagSlow(void) const)
>>> referenced by clangAST.lib(Decl.cpp.obj):(private: bool __cdecl clang::TypedefNameDecl::isTransparentTagSlow(void) const)
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: class clang::SourceLocation __cdecl clang::StringLiteral::getLocationOfByte(unsigned int, class clang::SourceManager const &, class clang::LangOptions const &, class clang::TargetInfo const &, unsigned int *, unsigned int *) const)
>>> referenced 56 more times

lld-link: error: undefined symbol: public: void __cdecl clang::Selector::print(class llvm::raw_ostream &) const
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: static class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl clang::PredefinedExpr::ComputeName(enum clang::PredefinedIdentKind, class clang::Decl const *, bool))
>>> referenced by clangAST.lib(DeclarationName.cpp.obj):(public: void __cdecl clang::DeclarationName::print(class llvm::raw_ostream &, struct clang::PrintingPolicy const &) const)
>>> referenced by clangAST.lib(Mangle.cpp.obj):(public: void __cdecl clang::MangleContext::mangleObjCMethodName(class clang::ObjCMethodDecl const *, class llvm::raw_ostream &, bool, bool) const)
>>> referenced 14 more times

lld-link: error: undefined symbol: unsigned short const *const clang::charinfo::InfoTable
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: static void __cdecl clang::CharacterLiteral::print(unsigned int, enum clang::CharacterLiteralKind, class llvm::raw_ostream &))
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: void __cdecl clang::StringLiteral::outputString(class llvm::raw_ostream &) const)
>>> referenced by clangAST.lib(APValue.cpp.obj):(public: void __cdecl clang::APValue::printPretty(class llvm::raw_ostream &, struct clang::PrintingPolicy const &, class clang::QualType, class clang::ASTContext const *) const)
>>> referenced 148 more times

lld-link: error: undefined symbol: public: unsigned int __cdecl clang::TargetInfo::getTypeWidth(enum clang::TransferrableTargetInfo::IntType) const
>>> referenced by clangAST.lib(Expr.cpp.obj):(private: static unsigned int __cdecl clang::StringLiteral::mapCharByteWidth(class clang::TargetInfo const &, enum clang::StringLiteralKind))
>>> referenced by clangAST.lib(Expr.cpp.obj):(private: static unsigned int __cdecl clang::StringLiteral::mapCharByteWidth(class clang::TargetInfo const &, enum clang::StringLiteralKind))
>>> referenced by clangAST.lib(Expr.cpp.obj):(private: static unsigned int __cdecl clang::StringLiteral::mapCharByteWidth(class clang::TargetInfo const &, enum clang::StringLiteralKind))
>>> referenced 31 more times

lld-link: error: undefined symbol: public: class llvm::StringRef __cdecl clang::SourceManager::getBufferData(class clang::FileID, bool *) const
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: class clang::SourceLocation __cdecl clang::StringLiteral::getLocationOfByte(unsigned int, class clang::SourceManager const &, class clang::LangOptions const &, class clang::TargetInfo const &, unsigned int *, unsigned int *) const)
>>> referenced by clangAST.lib(ASTContext.cpp.obj):(public: class clang::RawComment * __cdecl clang::ASTContext::getRawCommentForDeclNoCacheImpl(class clang::Decl const *, class clang::SourceLocation, class std::map<unsigned int, class clang::RawComment *, struct std::less<unsigned int>, class std::allocator<struct std::pair<unsigned int const, class clang::RawComment *>>> const &) const)
>>> referenced by clangLex.lib(Lexer.cpp.obj):(public: static class llvm::StringRef __cdecl clang::Lexer::getSpelling(class clang::SourceLocation, class llvm::SmallVectorImpl<char> &, class clang::SourceManager const &, class clang::LangOptions const &, bool *))
>>> referenced 21 more times

lld-link: error: undefined symbol: private: class clang::FileID __cdecl clang::SourceManager::getFileIDSlow(unsigned int) const
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: struct std::pair<class clang::FileID, unsigned int> __cdecl clang::SourceManager::getDecomposedLoc(class clang::SourceLocation) const)
>>> referenced by clangASTMatchers.lib(ASTMatchersInternal.cpp.obj):(class std::optional<class clang::SourceLocation> __cdecl clang::ast_matchers::internal::getExpansionLocOfMacroRecursive(class llvm::StringRef, class clang::SourceLocation, class clang::ASTContext const &, class llvm::DenseSet<class clang::SourceLocation, struct llvm::DenseMapInfo<class clang::SourceLocation, void>> &))
>>> referenced by clangFrontend.lib(ASTUnit.cpp.obj):(public: virtual void __cdecl clang::FilterAndStoreDiagnosticConsumer::HandleDiagnostic(enum clang::DiagnosticsEngine::Level, class clang::Diagnostic const &))
>>> referenced 89 more times

lld-link: error: undefined symbol: public: class clang::CharSourceRange __cdecl clang::SourceManager::getExpansionRange(class clang::SourceLocation) const
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: class clang::APValue __cdecl clang::SourceLocExpr::EvaluateInContext(class clang::ASTContext const &, class clang::Expr const *) const)
>>> referenced by clangLex.lib(PPMacroExpansion.cpp.obj):(private: void __cdecl clang::Preprocessor::ExpandBuiltinMacro(class clang::Token &))
>>> referenced by clangFrontend.lib(FrontendAction.cpp.obj):(public: virtual void __cdecl `anonymous namespace'::DeserializedDeclsSourceRangePrinter::HandleTranslationUnit(class clang::ASTContext &))
>>> referenced 13 more times

lld-link: error: undefined symbol: private: static enum clang::ObjCMethodFamily __cdecl clang::Selector::getMethodFamilyImpl(class clang::Selector)
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: enum clang::ObjCMethodFamily __cdecl clang::ObjCMessageExpr::getMethodFamily(void) const)
>>> referenced by clangAST.lib(DeclObjC.cpp.obj):(public: enum clang::ObjCMethodFamily __cdecl clang::ObjCMethodDecl::getMethodFamily(void) const)
>>> referenced by clangSema.lib(SemaDeclObjC.cpp.obj):(public: class clang::Decl * __cdecl clang::SemaObjC::ActOnMethodDeclaration(class clang::Scope *, class clang::SourceLocation, class clang::SourceLocation, enum clang::tok::TokenKind, class clang::ObjCDeclSpec &, class clang::OpaquePtr<class clang::QualType>, class llvm::ArrayRef<class clang::SourceLocation>, class clang::Selector, class clang::ParmVarDecl **, struct clang::DeclaratorChunk::ParamInfo *, unsigned int, class clang::ParsedAttributesView const &, enum clang::tok::ObjCKeywordKind, bool, bool))
>>> referenced 7 more times

lld-link: error: undefined symbol: public: static class clang::FPOptions __cdecl clang::FPOptions::defaultWithoutTrailingStorage(class clang::LangOptions const &)
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: class clang::FPOptions __cdecl clang::Expr::getFPFeaturesInEffect(class clang::LangOptions const &) const)
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: class clang::FPOptions __cdecl clang::CastExpr::getFPFeaturesInEffect(class clang::LangOptions const &) const)
>>> referenced by clangAST.lib(ExprConstant.cpp.obj):(public: bool __cdecl `anonymous namespace'::FloatExprEvaluator::VisitCastExpr(class clang::CastExpr const *))
>>> referenced 19 more times

lld-link: error: undefined symbol: public: void __cdecl clang::LangOptions::remapPathPrefix(class llvm::SmallVectorImpl<char> &) const
>>> referenced by clangAST.lib(Expr.cpp.obj):(public: virtual class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl `public: static class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl clang::PredefinedExpr::ComputeName(enum clang::PredefinedIdentKind, class clang::Decl const *, bool)'::`2'::PrettyCallbacks::remapPath(class llvm::StringRef) const)
>>> referenced by clangLex.lib(PPMacroExpansion.cpp.obj):(private: void __cdecl clang::Preprocessor::ExpandBuiltinMacro(class clang::Token &))
>>> referenced by clangLex.lib(PPMacroExpansion.cpp.obj):(public: static void __cdecl clang::Preprocessor::processPathToFileName(class llvm::SmallVectorImpl<char> &, class clang::PresumedLoc const &, class clang::LangOptions const &, class clang::TargetInfo const &))
>>> referenced 1 more times

lld-link: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/176744


More information about the llvm-commits mailing list