Skip to content

Conversation

mshockwave
Copy link
Member

These lines are heavily skewed and hard to read. Using the new LDBG there instead.

NFC.

These lines are heavily skewed and hard to read. Using the new LDBG
there instead.

NFC.
@mshockwave mshockwave merged commit a741479 into llvm:main Oct 5, 2025
9 of 11 checks passed
@mshockwave mshockwave deleted the patch/misched-dbg-nfc branch October 5, 2025 06:19
@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2025

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 6 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
[1917/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\SymbolicFile.cpp.obj
[1918/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\ArchiveEmitter.cpp.obj
[1919/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\ArchiveYAML.cpp.obj
[1920/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\ELFObjectFile.cpp.obj
[1921/4313] Building CXX object lib\Debuginfod\CMakeFiles\LLVMDebuginfod.dir\HTTPClient.cpp.obj
[1922/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\IRObjectFile.cpp.obj
[1923/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\ObjectFile.cpp.obj
[1924/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\TapiUniversal.cpp.obj
[1925/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\XCOFFObjectFile.cpp.obj
[1926/4313] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineScheduler.cpp.obj
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineScheduler.cpp.obj 
C:\ninja\ccache.exe C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -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\lib\CodeGen -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\CodeGen -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 /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 /Folib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineScheduler.cpp.obj /Fdlib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LLVMCodeGen.pdb /FS -c C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\CodeGen\MachineScheduler.cpp
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\CodeGen\MachineScheduler.cpp(3355): error C2039: 'getResourceName': is not a member of 'llvm::TargetSchedModel'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/CodeGen/TargetSchedule.h(31): note: see declaration of 'llvm::TargetSchedModel'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\CodeGen\MachineScheduler.cpp(3358): error C2039: 'getResourceName': is not a member of 'llvm::TargetSchedModel'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/CodeGen/TargetSchedule.h(31): note: see declaration of 'llvm::TargetSchedModel'
[1927/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\WindowsResource.cpp.obj
[1928/4313] Building CXX object lib\Debuginfod\CMakeFiles\LLVMDebuginfod.dir\BuildIDFetcher.cpp.obj
[1929/4313] Building CXX object lib\DebugInfo\DWARF\CMakeFiles\LLVMDebugInfoDWARF.dir\DWARFAddressRange.cpp.obj
[1930/4313] Building CXX object lib\DebugInfo\DWARF\CMakeFiles\LLVMDebugInfoDWARF.dir\DWARFCFIPrinter.cpp.obj
[1931/4313] Building CXX object lib\Debuginfod\CMakeFiles\LLVMDebuginfod.dir\HTTPServer.cpp.obj
[1932/4313] Building CXX object lib\DebugInfo\DWARF\CMakeFiles\LLVMDebugInfoDWARF.dir\DWARFAbbreviationDeclaration.cpp.obj
[1933/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\RelocationResolver.cpp.obj
[1934/4313] Building CXX object lib\DebugInfo\DWARF\CMakeFiles\LLVMDebugInfoDWARF.dir\DWARFCompileUnit.cpp.obj
[1935/4313] Building CXX object lib\Debuginfod\CMakeFiles\LLVMDebuginfod.dir\Debuginfod.cpp.obj
[1936/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\GOFFYAML.cpp.obj
[1937/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\MachOUniversalWriter.cpp.obj
[1938/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\CodeViewYAMLTypeHashing.cpp.obj
[1939/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\WasmYAML.cpp.obj
[1940/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\OffloadBinary.cpp.obj
[1941/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\RecordStreamer.cpp.obj
[1942/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\ModuleSymbolTable.cpp.obj
[1943/4313] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\OffloadBundle.cpp.obj
[1944/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\MinidumpEmitter.cpp.obj
[1945/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\OffloadYAML.cpp.obj
[1946/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\YAML.cpp.obj
[1947/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\COFFYAML.cpp.obj
[1948/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\DWARFEmitter.cpp.obj
[1949/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\MinidumpYAML.cpp.obj
[1950/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\XCOFFYAML.cpp.obj
[1951/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\CodeViewYAMLDebugSections.cpp.obj
[1952/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\DXContainerYAML.cpp.obj
[1953/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\DWARFYAML.cpp.obj
[1954/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\CodeViewYAMLSymbols.cpp.obj
[1955/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\ELFEmitter.cpp.obj
[1956/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\CodeViewYAMLTypes.cpp.obj
[1957/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\MachOEmitter.cpp.obj
[1958/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\WasmEmitter.cpp.obj
[1959/4313] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\ObjectYAML.cpp.obj

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2025

LLVM Buildbot has detected a new failure on builder mlir-nvidia running on mlir-nvidia while building llvm at step 7 "test-build-check-mlir-build-only-check-mlir".

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

Here is the relevant piece of the build log for the reference
Step 7 (test-build-check-mlir-build-only-check-mlir) failure: test (failure)
******************** TEST 'MLIR :: Integration/GPU/CUDA/TensorCore/wmma-matmul-f32.mlir' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-opt /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Integration/GPU/CUDA/TensorCore/wmma-matmul-f32.mlir  | /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-opt -gpu-lower-to-nvvm-pipeline="cubin-chip=sm_70 cubin-format=fatbin"  | /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-runner    --shared-libs=/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib/libmlir_cuda_runtime.so    --shared-libs=/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib/libmlir_runner_utils.so    --entry-point-result=void  | /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/FileCheck /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Integration/GPU/CUDA/TensorCore/wmma-matmul-f32.mlir
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-opt /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Integration/GPU/CUDA/TensorCore/wmma-matmul-f32.mlir
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-opt '-gpu-lower-to-nvvm-pipeline=cubin-chip=sm_70 cubin-format=fatbin'
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-runner --shared-libs=/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib/libmlir_cuda_runtime.so --shared-libs=/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib/libmlir_runner_utils.so --entry-point-result=void
# .---command stderr------------
# | 'cuDevicePrimaryCtxRetain(&ctx, getDefaultCuDevice())' failed with 'CUDA_ERROR_INVALID_VALUE'
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-runner --shared-libs=/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib/libmlir_cuda_runtime.so --shared-libs=/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib/libmlir_runner_utils.so --entry-point-result=void
# | Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
# | 0  libLLVMSupport.so.22.0git         0x00007c36e06381e7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
# | 1  libLLVMSupport.so.22.0git         0x00007c36e06358e5 llvm::sys::RunSignalHandlers() + 293
# | 2  libLLVMSupport.so.22.0git         0x00007c36e0638f95
# | 3  libc.so.6                         0x00007c36dfed3520
# | 4  libcuda.so.1                      0x00007c36d96837eb
# | 5  libmlir_cuda_runtime.so           0x00007c36db064e10
# | 6  libmlir_cuda_runtime.so           0x00007c36db064d12 mgpuModuleLoad + 18
# | 7  (error)                           0x00007c36e03ef01c
# | 8  (error)                           0x00007c36e03ef36d
# | 9  libLLVMOrcJIT.so.22.0git          0x00007c36eb2061a7
# | 10 libMLIRExecutionEngine.so.22.0git 0x00007c36eb38ea6e
# | 11 libMLIRExecutionEngine.so.22.0git 0x00007c36eb38e8e5 mlir::ExecutionEngine::initialize() + 53
# | 12 libMLIRJitRunner.so.22.0git       0x00007c36eb41de8c
# | 13 libMLIRJitRunner.so.22.0git       0x00007c36eb41a8fd
# | 14 libMLIRJitRunner.so.22.0git       0x00007c36eb418c10 mlir::JitRunnerMain(int, char**, mlir::DialectRegistry const&, mlir::JitRunnerConfig) + 4928
# | 15 mlir-runner                       0x00005b21269de3f8 main + 296
# | 16 libc.so.6                         0x00007c36dfebad90
# | 17 libc.so.6                         0x00007c36dfebae40 __libc_start_main + 128
# | 18 mlir-runner                       0x00005b21269ddeb5 _start + 37
# `-----------------------------
# error: command failed with exit status: -11
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/FileCheck /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Integration/GPU/CUDA/TensorCore/wmma-matmul-f32.mlir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/FileCheck /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Integration/GPU/CUDA/TensorCore/wmma-matmul-f32.mlir
# `-----------------------------
# error: command failed with exit status: 2

--

********************


tbaederr added a commit that referenced this pull request Oct 5, 2025
…g LDBG. NFC (#161997)"

This reverts commit a741479.

This breaks builds:
 3355 |            << SchedModel->getResourceName(CurrZone.getZoneCritResIdx()) << "\n";
      |               ~~~~~~~~~~  ^
/home/buildbot/workspace/bolt-aarch64-ubuntu-clang/llvm-project/llvm/lib/CodeGen/MachineScheduler.cpp:3358:51: error: no member named 'getResourceName' in 'llvm::TargetSchedModel'
 3358 |     LDBG() << "  RemainingLimit: " << SchedModel->getResourceName(OtherCritIdx)
      |                                       ~~~~~~~~~~  ^
2 errors generated.

E.g. https://lab.llvm.org/buildbot/#/builders/128/builds/7522
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants