[llvm] [SandboxIR] Add debug checker to compare IR before/after a revert (PR #115968)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 09:45:33 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-win-fast` running on `as-builder-3` while building `llvm` at step 7 "test-build-unified-tree-check-llvm-unit".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/2/builds/11282

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (test-build-unified-tree-check-llvm-unit) failure: test (failure)
...
[696/722] Linking CXX executable unittests\Transforms\IPO\IPOTests.exe
[697/722] Linking CXX executable unittests\Passes\PassBuilderBindings\PassesBindingsTests.exe
[698/722] Linking CXX executable unittests\IR\IRTests.exe
[699/722] Linking CXX executable unittests\Target\TargetMachineCTests.exe
[700/722] Linking CXX executable unittests\tools\llvm-exegesis\LLVMExegesisTests.exe
[701/722] Linking CXX executable unittests\Target\ARM\ARMTests.exe
[702/722] Linking CXX executable unittests\Transforms\Coroutines\CoroTests.exe
[703/722] Linking CXX executable unittests\Transforms\Instrumentation\InstrumentationTests.exe
[704/722] Linking CXX executable unittests\Transforms\Utils\UtilsTests.exe
[705/722] Building CXX object unittests\SandboxIR\CMakeFiles\SandboxIRTests.dir\TrackerTest.cpp.obj
FAILED: unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/TrackerTest.cpp.obj 
C:\ninja\ccache.exe C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -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:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\unittests\SandboxIR -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\SandboxIR -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\include -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\third-party\unittest\googletest\include -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 /DNDEBUG -MD  /EHs-c- /GR- -std:c++17 /showIncludes /Founittests\SandboxIR\CMakeFiles\SandboxIRTests.dir\TrackerTest.cpp.obj /Fdunittests\SandboxIR\CMakeFiles\SandboxIRTests.dir\ /FS -c C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\SandboxIR\TrackerTest.cpp
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\SandboxIR\TrackerTest.cpp(1859): error C2079: 'Checker' uses undefined class 'llvm::sandboxir::IRSnapshotChecker'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\SandboxIR\TrackerTest.cpp(1859): error C2440: 'initializing': cannot convert from 'llvm::sandboxir::Context' to 'int'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\SandboxIR\TrackerTest.cpp(1859): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\SandboxIR\TrackerTest.cpp(1880): error C2079: 'Checker' uses undefined class 'llvm::sandboxir::IRSnapshotChecker'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\SandboxIR\TrackerTest.cpp(1880): error C2440: 'initializing': cannot convert from 'llvm::sandboxir::Context' to 'int'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\SandboxIR\TrackerTest.cpp(1880): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\SandboxIR\TrackerTest.cpp(1902): error C2079: 'Checker' uses undefined class 'llvm::sandboxir::IRSnapshotChecker'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\SandboxIR\TrackerTest.cpp(1902): error C2440: 'initializing': cannot convert from 'llvm::sandboxir::Context' to 'int'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\SandboxIR\TrackerTest.cpp(1902): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
[706/722] Linking CXX executable unittests\Transforms\Scalar\ScalarTests.exe
[707/722] Building CXX object unittests\SandboxIR\CMakeFiles\SandboxIRTests.dir\IntrinsicInstTest.cpp.obj
[708/722] Building CXX object unittests\SandboxIR\CMakeFiles\SandboxIRTests.dir\OperatorTest.cpp.obj
[709/722] Building CXX object unittests\SandboxIR\CMakeFiles\SandboxIRTests.dir\PassTest.cpp.obj
[710/722] Building CXX object unittests\SandboxIR\CMakeFiles\SandboxIRTests.dir\RegionTest.cpp.obj
[711/722] Building CXX object unittests\SandboxIR\CMakeFiles\SandboxIRTests.dir\TypesTest.cpp.obj
[712/722] Building CXX object unittests\SandboxIR\CMakeFiles\SandboxIRTests.dir\UtilsTest.cpp.obj
[713/722] Building CXX object unittests\Transforms\Vectorize\SandboxVectorizer\CMakeFiles\SandboxVectorizerTests.dir\IntervalTest.cpp.obj
[714/722] Building CXX object unittests\Transforms\Vectorize\SandboxVectorizer\CMakeFiles\SandboxVectorizerTests.dir\LegalityTest.cpp.obj
[715/722] Building CXX object unittests\Transforms\Vectorize\SandboxVectorizer\CMakeFiles\SandboxVectorizerTests.dir\VecUtilsTest.cpp.obj
[716/722] Building CXX object unittests\Transforms\Vectorize\SandboxVectorizer\CMakeFiles\SandboxVectorizerTests.dir\SchedulerTest.cpp.obj
[717/722] Building CXX object unittests\Transforms\Vectorize\SandboxVectorizer\CMakeFiles\SandboxVectorizerTests.dir\DependencyGraphTest.cpp.obj
[718/722] Building CXX object unittests\Transforms\Vectorize\SandboxVectorizer\CMakeFiles\SandboxVectorizerTests.dir\SeedCollectorTest.cpp.obj
[719/722] Building CXX object unittests\SandboxIR\CMakeFiles\SandboxIRTests.dir\SandboxIRTest.cpp.obj
ninja: build stopped: subcommand failed.

```

</details>

https://github.com/llvm/llvm-project/pull/115968


More information about the llvm-commits mailing list