[JitDiff X64] [EgorBo] JIT: Fold redundant CHKCAST through VN-to-handle asse ...

For all the logs, see here.
Tracking issue: https://github.com/MihuBot/runtime-utils/issues/1891
Started at 2026-05-08 14-20-25 UTC, ran for 2 minutes 28 seconds.

[00:00:01] [Setup runtime]     still went through CORINFO_HELP_CHKCASTANY.
[00:00:01] [Setup runtime]
[00:00:01] [Setup runtime] Producer: optAssertionGenJtrue records a new `O1K_VN ==/!= O2K_CONST_INT`
[00:00:01] [Setup runtime] assertion when one side of an EQ/NE is a class-handle constant
[00:00:01] [Setup runtime] (via the new AssertionDsc::CreateConstVNAssertion factory).
[00:00:01] [Setup runtime]
[00:00:01] [Setup runtime] Consumer: optAssertionProp_Call (CHKCAST helpers) now also tries to
[00:00:01] [Setup runtime] resolve a non-constant castToArg through these assertions. If we
[00:00:01] [Setup runtime] recover a handle and gtGetClassHandle(objArg) is a Must-cast match,
[00:00:01] [Setup runtime] the helper call is dropped.
[00:00:01] [Setup runtime]
[00:00:01] [Setup runtime] Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
[00:00:01] [Setup runtime] + git merge --no-edit combineWith1/jit-vn-handle-cast-fold
[00:00:02] [Setup runtime] Auto-merging src/coreclr/jit/compiler.h
[00:00:02] [Setup runtime] Merge made by the 'ort' strategy.
[00:00:02] [Setup runtime] src/coreclr/jit/assertionprop.cpp | 81 +++++++++++++++++++++++++++++++++++++++
[00:00:02] [Setup runtime] src/coreclr/jit/compiler.h | 32 ++++++++++++++--
[00:00:02] [Setup runtime] 2 files changed, 109 insertions(+), 4 deletions(-)
[00:00:02] [Setup runtime] + git log -1
[00:00:02] [Setup runtime] commit a58a6dbc7bf7404606319fd133d4c2f8f1b0fa45
[00:00:02] [Setup runtime] Merge: 0fc44139081 628ad072351
[00:00:02] [Setup runtime] Author: build <build@build.foo>
[00:00:02] [Setup runtime] Date: Fri May 8 14:20:23 2026 +0000
[00:00:02] [Setup runtime]
[00:00:02] [Setup runtime] Merge remote-tracking branch 'combineWith1/jit-vn-handle-cast-fold' into pr
[00:00:02] [Setup runtime] + git switch main
[00:00:02] [Setup runtime] Switched to branch 'main'
[00:00:02] [Setup runtime] Your branch is up to date with 'origin/main'.
[00:00:02] main commit: 0fc441390817a63dcba1049b929215611d61c57c
[00:00:02] pr commit: 628ad07235105dcc03a5fb084f9dbb5235392d19
[00:00:02] Running 'git switch pr' from 'runtime'
[00:00:02] Switched to branch 'pr'
[00:00:02] [pr release] Running 'bash build.sh clr -c Release -p:RunAnalyzers=false -p:ApiCompatValidateAssemblies=false' from 'runtime'
[00:00:02] [pr release]
[00:00:02] [pr release] Determining projects to restore...
[00:00:03] [pr release] Tool 'coverlet.console' (version '6.0.4') was restored. Available commands: coverlet
[00:00:03] [pr release] Tool 'dotnet-reportgenerator-globaltool' (version '5.4.3') was restored. Available commands: reportgenerator
[00:00:03] [pr release] Tool 'microsoft.dotnet.xharness.cli' (version '11.0.0-prerelease.26204.1') was restored. Available commands: xharness
[00:00:03] [pr release] Tool 'microsoft.visualstudio.slngen.tool' (version '12.0.15') was restored. Available commands: slngen
[00:00:03] [pr release]
[00:00:03] [pr release] Restore was successful.
[00:00:03] [pr release] All projects are up-to-date for restore.
[00:00:03] [pr release] Determining projects to restore...
[00:00:09] [pr release] Restored /runner/runtime/src/tasks/Crossgen2Tasks/Crossgen2Tasks.csproj (in 4.14 sec).
[00:00:09] [pr release] Restored /runner/runtime/src/tasks/HelixTestTasks/HelixTestTasks.csproj (in 4.17 sec).
[00:00:09] [pr release] 65 of 67 projects are up-to-date for restore.
[00:00:09] [pr release] installer.tasks -> /runner/runtime/artifacts/bin/installer.tasks/Release/installer.tasks.dll
[00:00:11] [pr release] Crossgen2Tasks -> /runner/runtime/artifacts/bin/Crossgen2Tasks/Release/Crossgen2Tasks.dll
[00:00:11] [pr release] HelixTestTasks -> /runner/runtime/artifacts/bin/HelixTestTasks/Release/net11.0/HelixTestTasks.dll
[00:00:11] [pr release] ILLink.RoslynAnalyzer -> /runner/runtime/artifacts/bin/ILLink.RoslynAnalyzer/Release/netstandard2.0/ILLink.RoslynAnalyzer.dll
[00:00:11] [pr release] ILLink.CodeFixProvider -> /runner/runtime/artifacts/bin/ILLink.CodeFixProvider/Release/netstandard2.0/ILLink.CodeFixProvider.dll
[00:00:12] [pr release] Mono.Linker -> /runner/runtime/artifacts/bin/Mono.Linker/ref/Release/net11.0/illink.dll
[00:00:12] [pr release] Mono.Linker -> /runner/runtime/artifacts/bin/Mono.Linker/Release/net11.0/illink.dll
[00:00:12] [pr release] ILLink.Tasks -> /runner/runtime/artifacts/bin/ILLink.Tasks/Release/net/ILLink.Tasks.dll
[00:00:12] [pr release] System.Private.CoreLib.Generators -> /runner/runtime/artifacts/bin/System.Private.CoreLib.Generators/Release/netstandard2.0/System.Private.CoreLib.Generators.dll
[00:00:12] [pr release] System.Private.CoreLib -> /runner/runtime/artifacts/bin/System.Private.CoreLib/ref/Release/net11.0/System.Private.CoreLib.dll
[00:00:12] [pr release] EventSourceGenerator -> /runner/runtime/artifacts/bin/EventSourceGenerator/Release/netstandard2.0/EventSourceGenerator.dll
[00:00:12] [pr release] Microsoft.Interop.SourceGeneration -> /runner/runtime/artifacts/bin/Microsoft.Interop.SourceGeneration/Release/netstandard2.0/Microsoft.Interop.SourceGeneration.dll
[00:00:12] [pr release] LibraryImportGenerator -> /runner/runtime/artifacts/bin/LibraryImportGenerator/Release/netstandard2.0/Microsoft.Interop.LibraryImportGenerator.dll
[00:00:12] [pr release] System.Private.CoreLib -> /runner/runtime/artifacts/bin/coreclr/linux.x64.Release/IL/System.Private.CoreLib.dll
[00:00:12] [pr release] cdac-build-tool -> /runner/runtime/artifacts/bin/coreclr/linux.x64.Release/cdac-build-tool/cdac-build-tool.dll
[00:00:12] [pr release] Executing "/runner/runtime/src/coreclr/build-runtime.sh" -x64 -release -os linux -ninja -pgodatapath "/root/.nuget/packages/optimization.linux-x64.pgo.coreclr/1.0.0-prerelease.26080.1" -targetrid linux-x64 -cmakeargs "-DCLR_DOTNET_RID=linux-x64" -cmakeargs "-DCLR_DOTNET_HOST_PATH='/usr/lib/dotnet/dotnet'" -cmakeargs "-DCDAC_BUILD_TOOL_BINARY_PATH=/runner/runtime/artifacts/bin/coreclr/linux.x64.Release/cdac-build-tool/cdac-build-tool.dll" -cmakeargs "-DFEATURE_DYNAMI ...
[00:00:12] [pr release] Commencing CoreCLR Repo build
[00:00:12] [pr release] __TargetRid: linux-x64
[00:00:12] [pr release] Setting up directories for build
[00:00:12] [pr release] Checking prerequisites...
[00:00:12] [pr release] /usr/bin/ninja
[00:00:12] [pr release] Commencing build of "install" target in "CoreCLR component" for linux.x64.Release in /runner/runtime/artifacts/obj/coreclr/linux.x64.Release
[00:00:12] [pr release] Invoking "/runner/runtime/eng/native/gen-buildsys.sh" "/runner/runtime/src/coreclr" "/runner/runtime/artifacts/obj/coreclr/linux.x64.Release" x64 linux clang Release "ninja" -DCLR_CMAKE_PGO_INSTRUMENT=0 -DCLR_CMAKE_OPTDATA_PATH=/root/.nuget/packages/optimization.linux-x64.pgo.coreclr/1.0.0-prerelease.26080.1 -DCLR_CMAKE_PGO_OPTIMIZE=1 -DCLI_CMAKE_FALLBACK_OS="linux" -DFEATURE_DISTRO_AGNOSTIC_SSL=1 -DFEATURE_DYNAMIC_CODE_COMPILED=1 -DCDAC_BUILD_TOOL_BINARY_PATH=/run ...
[00:00:12] [pr release] -- The linker identification is Ubuntu LLD 18.1.3 (compatible with GNU linkers)
[00:00:12] [pr release] Not searching for unused variables given on the command line.
[00:00:12] [pr release] Detected Linux x86_64
[00:00:12] [pr release] -- Using CMake version 3.28.3
[00:00:12] [pr release] -- ZLIB_HEADER_VERSION: 1.3.1
[00:00:12] [pr release] -- ZLIBNG_HEADER_VERSION: 2.2.5
[00:00:12] [pr release] -- Arch detected: 'x86_64'
[00:00:12] [pr release] -- Basearch of 'x86_64' has been detected as: 'x86'
[00:00:12] [pr release] -- Architecture-specific source files: arch/x86/x86_features.c;arch/x86/chunkset_sse2.c;arch/x86/compare256_sse2.c;arch/x86/slide_hash_sse2.c;arch/x86/adler32_ssse3.c;arch/x86/chunkset_ssse3.c;arch/x86/adler32_sse42.c;arch/x86/crc32_pclmulqdq.c;arch/x86/slide_hash_avx2.c;arch/x86/chunkset_avx2.c;arch/x86/compare256_avx2.c;arch/x86/adler32_avx2.c;arch/x86/adler32_avx512.c;arch/x86/chunkset_avx512.c;arch/x86/adler32_avx512_vnni.c;arch/x86/crc32_vpclmulqdq.c
[00:00:12] [pr release] -- The following features have been enabled:
[00:00:12] [pr release]
[00:00:12] [pr release] * CMAKE_BUILD_TYPE, Build type: RELEASE (selected)
[00:00:12] [pr release] * XSAVE, Support XSAVE intrinsics using "-mxsave"
[00:00:12] [pr release] * SSSE3_ADLER32, Support SSSE3-accelerated adler32, using "-mssse3"
[00:00:12] [pr release] * SSE42_CRC, Support SSE4.2 optimized adler32 hash generation, using "-msse4.2"
[00:00:12] [pr release] * PCLMUL_CRC, Support CRC hash generation using PCLMULQDQ, using "-msse4.2 -mpclmul"
[00:00:12] [pr release] * AVX2_SLIDEHASH, Support AVX2 optimized slide_hash, using "-mavx2 -mbmi2"
[00:00:12] [pr release] * AVX2_CHUNKSET, Support AVX2 optimized chunkset, using "-mavx2 -mbmi2"
[00:00:12] [pr release] * AVX2_COMPARE256, Support AVX2 optimized compare256, using "-mavx2 -mbmi2"
[00:00:12] [pr release] * AVX2_ADLER32, Support AVX2-accelerated adler32, using "-mavx2 -mbmi2"
[00:00:12] [pr release] * AVX512_ADLER32, Support AVX512-accelerated adler32, using "-mavx512f -mavx512dq -mavx512bw -mavx512vl -mbmi2 -mtune=cascadelake"
[00:00:12] [pr release] * AVX512_CHUNKSET, Support AVX512 optimized chunkset, using "-mavx512f -mavx512dq -mavx512bw -mavx512vl -mbmi2 -mtune=cascadelake"
[00:00:12] [pr release] * AVX512VNNI_ADLER32, Support AVX512VNNI adler32, using "-mavx512f -mavx512dq -mavx512bw -mavx512vl -mavx512vnni -mbmi2 -mtune=cascadelake"
[00:00:12] [pr release] * VPCLMUL_CRC, Support CRC hash generation using VPCLMULQDQ, using "-mpclmul -mvpclmulqdq -mavx512f -mavx512f -mavx512dq -mavx512bw -mavx512vl -mbmi2 -mtune=cascadelake"
[00:00:12] [pr release] * WITH_GZFILEOP, Compile with support for gzFile related functions
[00:00:12] [pr release] * ZLIB_COMPAT, Compile with zlib compatible API
[00:00:12] [pr release] * WITH_SANITIZER, Enable sanitizer support
[00:00:12] [pr release] * WITH_GTEST, Build gtest_zlib
[00:00:12] [pr release] * WITH_OPTIM, Build with optimisation
[00:00:12] [pr release] * WITH_NEW_STRATEGIES, Use new strategies
[00:00:12] [pr release] * WITH_RUNTIME_CPU_DETECTION, Build with runtime CPU detection
[00:00:12] [pr release] * WITH_AVX2, Build with AVX2
[00:00:12] [pr release] * WITH_AVX512, Build with AVX512
[00:00:12] [pr release] * WITH_AVX512VNNI, Build with AVX512 VNNI
[00:00:12] [pr release] * WITH_SSE2, Build with SSE2
[00:00:12] [pr release] * WITH_SSSE3, Build with SSSE3
[00:00:12] [pr release] * WITH_SSE42, Build with SSE42
[00:00:12] [pr release] * WITH_PCLMULQDQ, Build with PCLMULQDQ
[00:00:12] [pr release] * WITH_VPCLMULQDQ, Build with VPCLMULQDQ
[00:00:12] [pr release]
[00:00:12] [pr release] -- The following OPTIONAL packages have been found:
[00:00:12] [pr release]
[00:00:12] [pr release] * OpenSSL
[00:00:12] [pr release]
[00:00:12] [pr release] -- The following features have been disabled:
[00:00:12] [pr release]
[00:00:12] [pr release] * ZLIB_SYMBOL_PREFIX, Publicly exported symbols DO NOT have a custom prefix
[00:00:12] [pr release] * ZLIB_ENABLE_TESTS, Build test binaries
[00:00:12] [pr release] * ZLIBNG_ENABLE_TESTS, Test zlib-ng specific API
[00:00:12] [pr release] * WITH_FUZZERS, Build test/fuzz
[00:00:12] [pr release] * WITH_BENCHMARKS, Build test/benchmarks
[00:00:12] [pr release] * WITH_BENCHMARK_APPS, Build application benchmarks
[00:00:12] [pr release] * WITH_NATIVE_INSTRUCTIONS, Instruct the compiler to use the full instruction set on this host (gcc/clang -march=native)
[00:00:12] [pr release] * WITH_MAINTAINER_WARNINGS, Build with project maintainer warnings
[00:00:12] [pr release] * WITH_CODE_COVERAGE, Enable code coverage reporting
[00:00:12] [pr release] * WITH_INFLATE_STRICT, Build with strict inflate distance checking
[00:00:12] [pr release] * WITH_INFLATE_ALLOW_INVALID_DIST, Build with zero fill for inflate invalid distances
[00:00:12] [pr release] * INSTALL_UTILS, Copy minigzip and minideflate during install
[00:00:12] [pr release]
[00:00:12] [pr release] -- The following OPTIONAL packages have not been found:
[00:00:12] [pr release]
[00:00:12] [pr release] * PkgConfig
[00:00:12] [pr release]
[00:00:13] [pr release] -- Build type is 'RELEASE'
[00:00:13] [pr release] -- Compiler is not EMSCRIPTEN
[00:00:13] [pr release] -- ZSTD VERSION: 1.5.7
[00:00:13] [pr release] -- CMAKE_INSTALL_PREFIX: /runner/runtime/artifacts/bin/coreclr/linux.x64.Release
[00:00:13] [pr release] -- CMAKE_INSTALL_LIBDIR: lib
[00:00:13] [pr release] -- ZSTD_LEGACY_SUPPORT not defined!
[00:00:13] [pr release] -- ZSTD_MULTITHREAD_SUPPORT is disabled
[00:00:13] [pr release] -- OPENSSL_INCLUDE_DIR: /usr/include
[00:00:13] [pr release] -- OPENSSL_CRYPTO_LIBRARY: /usr/lib/x86_64-linux-gnu/libcrypto.so
[00:00:13] [pr release] -- OPENSSL_SSL_LIBRARY: /usr/lib/x86_64-linux-gnu/libssl.so
[00:00:13] [pr release] -- OPENSSL_VERSION: 3.0.13
[00:00:13] [pr release] CMake Warning at pgosupport.cmake:62 (message):
[00:00:13] [pr release] LTO is not supported or PGO optimization data not compatible, skipping
[00:00:13] [pr release] profile guided optimizations for clrjit
[00:00:13] [pr release] Call Stack (most recent call first):
[00:00:13] [pr release] jit/CMakeLists.txt:709 (add_pgo)
[00:00:13] [pr release]
[00:00:13] [pr release]
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.