[llvm] [StackSlotColoring] Add size aware stack slot coloring with TTI hook (PR #181874)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 17 10:54:24 PST 2026


github-actions[bot] wrote:

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

* 127522 tests passed
* 2528 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] bin/mlir-lsp-server.exe</summary>

```
FAILED: [code=4294967295] bin/mlir-lsp-server.exe
cmd.exe /C "cd . && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E vs_link_exe --intdir=tools\mlir\tools\mlir-lsp-server\CMakeFiles\mlir-lsp-server.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\mlir-lsp-server.rsp  /out:bin\mlir-lsp-server.exe /implib:lib\mlir-lsp-server.lib /pdb:bin\mlir-lsp-server.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\mlir-lsp-server.rsp /out:bin\mlir-lsp-server.exe /implib:lib\mlir-lsp-server.lib /pdb:bin\mlir-lsp-server.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: __cdecl mlir::detail::PDLByteCode::PDLByteCode(class mlir::ModuleOp, class llvm::SmallVector<class std::unique_ptr<class mlir::PDLPatternConfigSet, struct std::default_delete<class mlir::PDLPatternConfigSet>>, 6>, class llvm::DenseMap<class mlir::Operation *, class mlir::PDLPatternConfigSet *, struct llvm::DenseMapInfo<class mlir::Operation *, void>, struct llvm::detail::DenseMapPair<class mlir::Operation *, class mlir::PDLPatternConfigSet *>> const &, class llvm::StringMap<class std::function<struct llvm::LogicalResult __cdecl(class mlir::PatternRewriter &, class mlir::PDLResultList &, class llvm::ArrayRef<class mlir::PDLValue>)>, class llvm::MallocAllocator>, class llvm::StringMap<class std::function<struct llvm::LogicalResult __cdecl(class mlir::PatternRewriter &, class mlir::PDLResultList &, class llvm::ArrayRef<class mlir::PDLValue>)>, class llvm::MallocAllocator>)
>>> referenced by MLIRRewrite.lib(FrozenRewritePatternSet.cpp.obj):(public: __cdecl mlir::FrozenRewritePatternSet::FrozenRewritePatternSet(class mlir::RewritePatternSet &&, class llvm::ArrayRef<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>, class llvm::ArrayRef<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>))

lld-link: error: undefined symbol: public: void __cdecl mlir::detail::PDLByteCode::initializeMutableState(class mlir::detail::PDLByteCodeMutableState &) const
>>> referenced by MLIRRewrite.lib(PatternApplicator.cpp.obj):(public: __cdecl mlir::PatternApplicator::PatternApplicator(class mlir::FrozenRewritePatternSet const &))

lld-link: error: undefined symbol: public: void __cdecl mlir::detail::PDLByteCodeMutableState::updatePatternBenefit(unsigned int, class mlir::PatternBenefit)
>>> referenced by MLIRRewrite.lib(PatternApplicator.cpp.obj):(public: void __cdecl mlir::PatternApplicator::applyCostModel(class llvm::function_ref<class mlir::PatternBenefit __cdecl(class mlir::Pattern const &)>))

lld-link: error: undefined symbol: public: void __cdecl mlir::detail::PDLByteCode::match(class mlir::Operation *, class mlir::PatternRewriter &, class llvm::SmallVectorImpl<struct mlir::detail::PDLByteCode::MatchResult> &, class mlir::detail::PDLByteCodeMutableState &) const
>>> referenced by MLIRRewrite.lib(PatternApplicator.cpp.obj):(public: struct llvm::LogicalResult __cdecl mlir::PatternApplicator::matchAndRewrite(class mlir::Operation *, class mlir::PatternRewriter &, class llvm::function_ref<bool __cdecl(class mlir::Pattern const &)>, class llvm::function_ref<void __cdecl(class mlir::Pattern const &)>, class llvm::function_ref<struct llvm::LogicalResult __cdecl(class mlir::Pattern const &)>))

lld-link: error: undefined symbol: public: void __cdecl mlir::detail::PDLByteCodeMutableState::cleanupAfterMatchAndRewrite(void)
>>> referenced by MLIRRewrite.lib(PatternApplicator.cpp.obj):(public: struct llvm::LogicalResult __cdecl mlir::PatternApplicator::matchAndRewrite(class mlir::Operation *, class mlir::PatternRewriter &, class llvm::function_ref<bool __cdecl(class mlir::Pattern const &)>, class llvm::function_ref<void __cdecl(class mlir::Pattern const &)>, class llvm::function_ref<struct llvm::LogicalResult __cdecl(class mlir::Pattern const &)>))

lld-link: error: undefined symbol: public: struct llvm::LogicalResult __cdecl mlir::detail::PDLByteCode::rewrite(class mlir::PatternRewriter &, struct mlir::detail::PDLByteCode::MatchResult const &, class mlir::detail::PDLByteCodeMutableState &) const
>>> referenced by MLIRRewrite.lib(PatternApplicator.cpp.obj):(private: static void __cdecl llvm::function_ref<void __cdecl(void)>::callback_fn<class `public: struct llvm::LogicalResult __cdecl mlir::PatternApplicator::matchAndRewrite(class mlir::Operation *, class mlir::PatternRewriter &, class llvm::function_ref<bool __cdecl(class mlir::Pattern const &)>, class llvm::function_ref<void __cdecl(class mlir::Pattern const &)>, class llvm::function_ref<struct llvm::LogicalResult __cdecl(class mlir::Pattern const &)>)'::`1'::<lambda_5>>(__int64))
```
</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/181874


More information about the llvm-commits mailing list