[llvm] Add a pass to collect dropped var stats for MIR. (PR #115566)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 18 20:16:33 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `llvm` at step 7 "test-build-unified-tree-check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/13053
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
...
0.714 [17/70/630] Linking CXX executable unittests/tools/llvm-profdata/LLVMProfdataTests
0.727 [17/69/631] Linking CXX executable unittests/XRay/XRayTests
0.732 [17/68/632] Linking CXX executable unittests/tools/llvm-profgen/LLVMProfgenTests
0.732 [17/67/633] Linking CXX executable unittests/Transforms/Utils/UtilsTests
0.758 [17/66/634] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
0.861 [17/65/635] Linking CXX executable unittests/Support/SupportTests
2.519 [17/64/636] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
7.172 [17/63/637] Building CXX object unittests/Target/X86/CMakeFiles/X86Tests.dir/MachineSizeOptsTest.cpp.o
7.316 [16/63/638] Linking CXX executable unittests/Target/X86/X86Tests
7.392 [16/62/639] Building CXX object unittests/MIR/CMakeFiles/MIRTests.dir/DroppedVariableStatsMIRTest.cpp.o
FAILED: unittests/MIR/CMakeFiles/MIRTests.dir/DroppedVariableStatsMIRTest.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/1/llvm-x86_64-debian-dylib/build/unittests/MIR -I/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/unittests/MIR -I/b/1/llvm-x86_64-debian-dylib/build/include -I/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include -I/b/1/llvm-x86_64-debian-dylib/llvm-project/third-party/unittest/googletest/include -I/b/1/llvm-x86_64-debian-dylib/llvm-project/third-party/unittest/googlemock/include -fPIC -fvisibility-inlines-hidden -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/MIR/CMakeFiles/MIRTests.dir/DroppedVariableStatsMIRTest.cpp.o -MF unittests/MIR/CMakeFiles/MIRTests.dir/DroppedVariableStatsMIRTest.cpp.o.d -o unittests/MIR/CMakeFiles/MIRTests.dir/DroppedVariableStatsMIRTest.cpp.o -c /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/unittests/MIR/DroppedVariableStatsMIRTest.cpp
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/unittests/MIR/DroppedVariableStatsMIRTest.cpp:35:17: error: unknown type name 'LLVMTargetMachine'; did you mean 'TargetMachine'?
std::unique_ptr<LLVMTargetMachine>
^~~~~~~~~~~~~~~~~
TargetMachine
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include/llvm/Target/TargetMachine.h:77:7: note: 'TargetMachine' declared here
class TargetMachine {
^
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/unittests/MIR/DroppedVariableStatsMIRTest.cpp:42:26: error: unknown type name 'LLVMTargetMachine'; did you mean 'TargetMachine'?
return std::unique_ptr<LLVMTargetMachine>(
^~~~~~~~~~~~~~~~~
TargetMachine
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include/llvm/Target/TargetMachine.h:77:7: note: 'TargetMachine' declared here
class TargetMachine {
^
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/unittests/MIR/DroppedVariableStatsMIRTest.cpp:43:19: error: unknown type name 'LLVMTargetMachine'; did you mean 'TargetMachine'?
static_cast<LLVMTargetMachine *>(T->createTargetMachine(
^~~~~~~~~~~~~~~~~
TargetMachine
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include/llvm/Target/TargetMachine.h:77:7: note: 'TargetMachine' declared here
class TargetMachine {
^
3 errors generated.
7.528 [16/61/640] Building CXX object unittests/Target/VE/CMakeFiles/VETests.dir/MachineInstrTest.cpp.o
7.729 [16/60/641] Building CXX object unittests/Target/LoongArch/CMakeFiles/LoongArchTests.dir/InstSizes.cpp.o
8.055 [16/59/642] Building CXX object unittests/Target/WebAssembly/CMakeFiles/WebAssemblyTests.dir/WebAssemblyExceptionInfoTest.cpp.o
8.171 [16/58/643] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/MachineOperandTest.cpp.o
8.337 [16/57/644] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/Immediates.cpp.o
8.348 [16/56/645] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/GISelMITest.cpp.o
8.427 [16/55/646] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/GISelUtilsTest.cpp.o
8.466 [16/54/647] Building CXX object unittests/MIR/CMakeFiles/MIRTests.dir/MachineMetadata.cpp.o
8.561 [16/53/648] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/InstructionSelectTest.cpp.o
8.594 [16/52/649] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/MachineIRBuilderTest.cpp.o
8.626 [16/51/650] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/TypeTraitsTest.cpp.o
8.730 [16/50/651] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SVESchedPseudoTest.cpp.o
8.871 [16/49/652] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/LegalizerInfoTest.cpp.o
8.924 [16/48/653] Building CXX object unittests/Target/ARM/CMakeFiles/ARMTests.dir/MachineInstrTest.cpp.o
8.991 [16/47/654] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/CCStateTest.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/115566
More information about the llvm-commits
mailing list