[llvm-branch-commits] [llvm] [CodeGen] Fine-grained LIS updates on remat and dead-def handling (PR #202673)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 9 08:49:52 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>[code=1] lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/Rematerializer.cpp.obj</summary>
```
FAILED: [code=1] lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/Rematerializer.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\_work\llvm-project\llvm-project\build\lib\CodeGen -IC:\_work\llvm-project\llvm-project\llvm\lib\CodeGen -IC:\_work\llvm-project\llvm-project\build\include -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes /Folib\CodeGen\CMakeFiles\LLVMCodeGen.dir\Rematerializer.cpp.obj /Fdlib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LLVMCodeGen.pdb -c -- C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(274,3): error: no template named 'SmallSet'
274 | SmallSet<RegisterIdx, 8> ShrinkRematRegs;
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(275,25): error: use of undeclared identifier 'ShrinkUnrematRegs'; did you mean 'ShrinkRematRegs'?
275 | SmallSet<Register, 8> ShrinkUnrematRegs;
| ^~~~~~~~~~~~~~~~~
| ShrinkRematRegs
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(274,28): note: 'ShrinkRematRegs' declared here
274 | SmallSet<RegisterIdx, 8> ShrinkRematRegs;
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(275,3): error: use of undeclared identifier 'SmallSet'
275 | SmallSet<Register, 8> ShrinkUnrematRegs;
| ^~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(287,11): error: use of undeclared identifier 'ShrinkUnrematRegs'; did you mean 'ShrinkRematRegs'?
287 | if (ShrinkUnrematRegs.insert(Reg).second)
| ^~~~~~~~~~~~~~~~~
| ShrinkRematRegs
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(274,28): note: 'ShrinkRematRegs' declared here
274 | SmallSet<RegisterIdx, 8> ShrinkRematRegs;
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(505,44): error: use of undeclared identifier 'UnrematDeps'; did you mean 'RematDeps'?
505 | SmallMapVector<Register, LaneBitmask, 2> UnrematDeps;
| ^~~~~~~~~~~
| RematDeps
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(504,34): note: 'RematDeps' declared here
504 | SmallSetVector<RegisterIdx, 2> RematDeps;
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(505,3): error: use of undeclared identifier 'SmallMapVector'
505 | SmallMapVector<Register, LaneBitmask, 2> UnrematDeps;
| ^~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(517,11): error: use of undeclared identifier 'UnrematDeps'; did you mean 'RematDeps'?
517 | UnrematDeps.try_emplace(DepReg, LaneBitmask::getNone()).first->second;
| ^~~~~~~~~~~
| RematDeps
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(504,34): note: 'RematDeps' declared here
504 | SmallSetVector<RegisterIdx, 2> RematDeps;
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(517,23): error: no member named 'try_emplace' in 'llvm::SmallSetVector<unsigned int, 2>'
517 | UnrematDeps.try_emplace(DepReg, LaneBitmask::getNone()).first->second;
| ~~~~~~~~~~~ ^
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(529,29): error: use of undeclared identifier 'UnrematDeps'; did you mean 'RematDeps'?
529 | UnrematableDeps.push_back(UnrematDeps.takeVector());
| ^~~~~~~~~~~
| RematDeps
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(504,34): note: 'RematDeps' declared here
504 | SmallSetVector<RegisterIdx, 2> RematDeps;
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\Rematerializer.cpp(529,19): error: no matching member function for call to 'push_back'
529 | UnrematableDeps.push_back(UnrematDeps.takeVector());
| ~~~~~~~~~~~~~~~~^~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/SmallVector.h(423,8): note: candidate function not viable: no known conversion from 'SmallVector<unsigned int, [...]>' to 'const SmallVector<std::pair<llvm::Register, llvm::LaneBitmask>, [...]>' for 1st argument
423 | void push_back(const T &Elt) {
| ^ ~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/SmallVector.h(429,8): note: candidate function not viable: no known conversion from 'SmallVector<unsigned int, [...]>' to 'SmallVector<std::pair<llvm::Register, llvm::LaneBitmask>, [...]>' for 1st argument
429 | void push_back(T &&Elt) {
| ^ ~~~~~~~
10 errors generated.
```
</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/202673
More information about the llvm-branch-commits
mailing list