[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:10:17 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-expensive-checks-debian` running on `gribozavr4` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/9127
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
10.004 [17/70/658] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
10.171 [17/69/659] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
10.395 [17/68/660] Linking CXX executable tools/lld/unittests/AsLibAll/LLDAsLibAllTests
10.454 [17/67/661] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
10.821 [17/66/662] Linking CXX executable unittests/Transforms/Utils/UtilsTests
11.216 [17/65/663] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
13.405 [17/64/664] Linking CXX executable unittests/Target/TargetMachineCTests
16.392 [17/63/665] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/TypeTraitsTest.cpp.o
21.562 [17/62/666] Building CXX object unittests/MI/CMakeFiles/MITests.dir/LiveIntervalTest.cpp.o
21.579 [16/62/667] 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++ -DEXPENSIVE_CHECKS -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/1/llvm-clang-x86_64-expensive-checks-debian/build/unittests/MIR -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/unittests/MIR -I/b/1/llvm-clang-x86_64-expensive-checks-debian/build/include -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/third-party/unittest/googletest/include -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/third-party/unittest/googlemock/include -U_GLIBCXX_DEBUG -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-clang-x86_64-expensive-checks-debian/llvm-project/llvm/unittests/MIR/DroppedVariableStatsMIRTest.cpp
/b/1/llvm-clang-x86_64-expensive-checks-debian/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-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/Target/TargetMachine.h:77:7: note: 'TargetMachine' declared here
class TargetMachine {
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/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-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/Target/TargetMachine.h:77:7: note: 'TargetMachine' declared here
class TargetMachine {
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/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-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/Target/TargetMachine.h:77:7: note: 'TargetMachine' declared here
class TargetMachine {
^
3 errors generated.
21.735 [16/61/668] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/GISelMITest.cpp.o
21.762 [16/60/669] Building CXX object unittests/DebugInfo/DWARF/CMakeFiles/DebugInfoDWARFTests.dir/DwarfGenerator.cpp.o
22.451 [16/59/670] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/RegAllocScoreTest.cpp.o
22.700 [16/58/671] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/DroppedVariableStatsIRTest.cpp.o
23.126 [16/57/672] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/GISelAliasTest.cpp.o
23.136 [16/56/673] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/ConstantFoldingTest.cpp.o
23.150 [16/55/674] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/CCStateTest.cpp.o
23.158 [16/54/675] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/InstructionSelectTest.cpp.o
23.446 [16/53/676] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/SchedBoundary.cpp.o
23.476 [16/52/677] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/MachineOperandTest.cpp.o
23.522 [16/51/678] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/MachineIRBuilderTest.cpp.o
23.641 [16/50/679] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/LegalizerInfoTest.cpp.o
23.729 [16/49/680] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/MachineBasicBlockTest.cpp.o
23.804 [16/48/681] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/LegalizerTest.cpp.o
24.147 [16/47/682] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/DecomposeStackOffsetTest.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/115566
More information about the llvm-commits
mailing list