[llvm] [VPlan] Add the cost of spills when considering register pressure (PR #179646)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 4 04:48:58 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3104 tests passed
* 7 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanAnalysis.cpp.o</summary>
```
FAILED: lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanAnalysis.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanAnalysis.cpp.o -MF lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanAnalysis.cpp.o.d -o lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanAnalysis.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp:10:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h:71:1: error: struct 'VPCostContext' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
71 | struct VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:7: note: previous use is here
22 | class VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
2 errors generated.
```
</details>
<details>
<summary>lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanUtils.cpp.o</summary>
```
FAILED: lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanUtils.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanUtils.cpp.o -MF lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanUtils.cpp.o.d -o lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanUtils.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanUtils.cpp:10:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
1 error generated.
```
</details>
<details>
<summary>lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanVerifier.cpp.o</summary>
```
FAILED: lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanVerifier.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanVerifier.cpp.o -MF lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanVerifier.cpp.o.d -o lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanVerifier.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanHelpers.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp:19:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
2 errors generated.
```
</details>
<details>
<summary>lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanConstruction.cpp.o</summary>
```
FAILED: lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanConstruction.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanConstruction.cpp.o -MF lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanConstruction.cpp.o.d -o lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanConstruction.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:76:1: error: 'VPRegisterUsage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
76 | struct VPRegisterUsage {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h:48:1: note: did you mean struct here?
48 | class VPRegisterUsage;
| ^~~~~
| struct
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp:19:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
3 errors generated.
```
</details>
<details>
<summary>lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanRecipes.cpp.o</summary>
```
FAILED: lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanRecipes.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanRecipes.cpp.o -MF lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanRecipes.cpp.o.d -o lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanRecipes.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:76:1: error: 'VPRegisterUsage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
76 | struct VPRegisterUsage {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h:48:1: note: did you mean struct here?
48 | class VPRegisterUsage;
| ^~~~~
| struct
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
3 errors generated.
```
</details>
<details>
<summary>lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanUnroll.cpp.o</summary>
```
FAILED: lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanUnroll.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanUnroll.cpp.o -MF lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanUnroll.cpp.o.d -o lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanUnroll.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:76:1: error: 'VPRegisterUsage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
76 | struct VPRegisterUsage {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h:48:1: note: did you mean struct here?
48 | class VPRegisterUsage;
| ^~~~~
| struct
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
3 errors generated.
```
</details>
<details>
<summary>lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlan.cpp.o</summary>
```
FAILED: lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlan.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlan.cpp.o -MF lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlan.cpp.o.d -o lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlan.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanHelpers.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanHelpers.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:76:1: error: 'VPRegisterUsage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
76 | struct VPRegisterUsage {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h:48:1: note: did you mean struct here?
48 | class VPRegisterUsage;
| ^~~~~
| struct
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.cpp:23:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
3 errors generated.
```
</details>
<details>
<summary>lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanTransforms.cpp.o</summary>
```
FAILED: lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanTransforms.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanTransforms.cpp.o -MF lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanTransforms.cpp.o.d -o lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanTransforms.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:76:1: error: 'VPRegisterUsage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
76 | struct VPRegisterUsage {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h:48:1: note: did you mean struct here?
48 | class VPRegisterUsage;
| ^~~~~
| struct
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
3 errors generated.
```
</details>
<details>
<summary>lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/LoopVectorize.cpp.o</summary>
```
FAILED: lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/LoopVectorize.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/LoopVectorize.cpp.o -MF lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/LoopVectorize.cpp.o.d -o lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/LoopVectorize.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:60:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:60:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:76:1: error: 'VPRegisterUsage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
76 | struct VPRegisterUsage {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h:48:1: note: did you mean struct here?
48 | class VPRegisterUsage;
| ^~~~~
| struct
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:62:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
3 errors generated.
```
</details>
<details>
<summary>unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPDomTreeTest.cpp.o</summary>
```
FAILED: unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPDomTreeTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPDomTreeTest.cpp.o -MF unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPDomTreeTest.cpp.o.d -o unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPDomTreeTest.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPDomTreeTest.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPDomTreeTest.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPDomTreeTest.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
2 errors generated.
```
</details>
<details>
<summary>unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanUncountableExitTest.cpp.o</summary>
```
FAILED: unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanUncountableExitTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanUncountableExitTest.cpp.o -MF unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanUncountableExitTest.cpp.o.d -o unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanUncountableExitTest.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanUncountableExitTest.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanUncountableExitTest.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanUncountableExitTest.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
2 errors generated.
```
</details>
<details>
<summary>unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanVerifierTest.cpp.o</summary>
```
FAILED: unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanVerifierTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanVerifierTest.cpp.o -MF unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanVerifierTest.cpp.o.d -o unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanVerifierTest.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
2 errors generated.
```
</details>
<details>
<summary>unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanPatternMatchTest.cpp.o</summary>
```
FAILED: unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanPatternMatchTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanPatternMatchTest.cpp.o -MF unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanPatternMatchTest.cpp.o.d -o unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanPatternMatchTest.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanPatternMatchTest.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanPatternMatchTest.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanPatternMatchTest.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:76:1: error: 'VPRegisterUsage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
76 | struct VPRegisterUsage {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/LoopVectorizationPlanner.h:48:1: note: did you mean struct here?
48 | class VPRegisterUsage;
| ^~~~~
| struct
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanPatternMatchTest.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
3 errors generated.
```
</details>
<details>
<summary>unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanHCFGTest.cpp.o</summary>
```
FAILED: unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanHCFGTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanHCFGTest.cpp.o -MF unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanHCFGTest.cpp.o.d -o unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanHCFGTest.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
2 errors generated.
```
</details>
<details>
<summary>unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanSlpTest.cpp.o</summary>
```
FAILED: unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanSlpTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanSlpTest.cpp.o -MF unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanSlpTest.cpp.o.d -o unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanSlpTest.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanSlpTest.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanSlpTest.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanSlpTest.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
2 errors generated.
```
</details>
<details>
<summary>unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanTest.cpp.o</summary>
```
FAILED: unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanTest.cpp.o -MF unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanTest.cpp.o.d -o unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanTest.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: error: class 'VPCostContext' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
22 | class VPCostContext;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlan.h:71:8: note: previous use is here
71 | struct VPCostContext;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanHelpers.h:338:1: error: 'VPCostContext' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
338 | struct VPCostContext {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/../lib/Transforms/Vectorize/VPlanAnalysis.h:22:1: note: did you mean struct here?
22 | class VPCostContext;
| ^~~~~
| struct
2 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/179646
More information about the llvm-commits
mailing list