[Mlir-commits] [mlir] [mlir][IR] Generalize `DenseElementsAttr` to custom element types (PR #183891)
LLVM Continuous Integration
llvmlistbot at llvm.org
Sat Feb 28 05:48:44 PST 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-arm64-windows-msvc` running on `linaro-armv8-windows-msvc-01` while building `mlir` at step 6 "test-build-unified-tree-check-mlir".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/207/builds/14077
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-mlir) failure: test (failure)
******************** TEST 'MLIR :: Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir' FAILED ********************
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\mlir-opt.exe C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\test\Conversion\NVGPUToNVVM\nvgpu-to-nvvm.mlir -convert-nvgpu-to-nvvm | c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\filecheck.exe C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\test\Conversion\NVGPUToNVVM\nvgpu-to-nvvm.mlir
# executed command: 'c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\mlir-opt.exe' 'C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\test\Conversion\NVGPUToNVVM\nvgpu-to-nvvm.mlir' -convert-nvgpu-to-nvvm
# .---command stderr------------
# | Assertion failed: implDenseElementType && "`::mlir::FloatType` expected its base interface `::mlir::DenseElementType` to be registered", file C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/tools/mlir/include\mlir/IR/BuiltinTypeInterfaces.h.inc, line 251
# | 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: c:\\users\\tcwg\\llvm-worker\\flang-arm64-windows-msvc\\build\\bin\\mlir-opt.exe C:\\Users\\tcwg\\llvm-worker\\flang-arm64-windows-msvc\\llvm-project\\mlir\\test\\Conversion\\NVGPUToNVVM\\nvgpu-to-nvvm.mlir -convert-nvgpu-to-nvvm
# | 1. MLIR Parser: custom op parser 'func.func'
# | Exception Code: 0xC000001D
# | #0 0x00007ff7df3ea330 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\mlir-opt.exe+0x2bfa330)
# | #1 0x00007ffcf206ae50 (C:\WINDOWS\System32\ucrtbase.dll+0x7ae50)
# | #2 0x4c7cfffcf206ba5c
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\filecheck.exe' 'C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\test\Conversion\NVGPUToNVVM\nvgpu-to-nvvm.mlir'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\filecheck.exe C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\test\Conversion\NVGPUToNVVM\nvgpu-to-nvvm.mlir
# `-----------------------------
# error: command failed with exit status: 2
--
********************
Step 7 (test-build-unified-tree-check-flang) failure: test (failure)
******************** TEST 'Flang :: Intrinsics/math-codegen.fir' FAILED ********************
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
split-file C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\test\Intrinsics\math-codegen.fir C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\flang\test\Intrinsics\Output\math-codegen.fir.tmp
# executed command: split-file 'C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\test\Intrinsics\math-codegen.fir' 'C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\flang\test\Intrinsics\Output\math-codegen.fir.tmp'
# RUN: at line 5
fir-opt C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\flang\test\Intrinsics\Output\math-codegen.fir.tmp/abs_fast.fir --fir-to-llvm-ir="target=x86_64-unknown-linux-gnu" | c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\filecheck.exe C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\flang\test\Intrinsics\Output\math-codegen.fir.tmp/abs_fast.fir
# executed command: fir-opt 'C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\flang\test\Intrinsics\Output\math-codegen.fir.tmp/abs_fast.fir' --fir-to-llvm-ir=target=x86_64-unknown-linux-gnu
# .---command stderr------------
# | Assertion failed: implDenseElementType && "`::mlir::FloatType` expected its base interface `::mlir::DenseElementType` to be registered", file C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/tools/mlir/include\mlir/IR/BuiltinTypeInterfaces.h.inc, line 251
# | 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: fir-opt C:\\Users\\tcwg\\llvm-worker\\flang-arm64-windows-msvc\\build\\tools\\flang\\test\\Intrinsics\\Output\\math-codegen.fir.tmp/abs_fast.fir --fir-to-llvm-ir=target=x86_64-unknown-linux-gnu
# | 1. MLIR Parser: custom op parser 'func.func'
# | Exception Code: 0xC000001D
# | #0 0x00007ff6b4054cfc mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\fir-opt.exe+0x1594cfc)
# | #1 0x00007ffcf206ae50 (C:\WINDOWS\System32\ucrtbase.dll+0x7ae50)
# | #2 0xc553fffcf206ba5c
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\filecheck.exe' 'C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\flang\test\Intrinsics\Output\math-codegen.fir.tmp/abs_fast.fir'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\filecheck.exe C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\flang\test\Intrinsics\Output\math-codegen.fir.tmp/abs_fast.fir
# `-----------------------------
# error: command failed with exit status: 2
--
********************
Step 8 (test-build-unified-tree-check-flang-rt) failure: test (failure)
******************** TEST 'flang-rt :: Driver/exec.f90' FAILED ********************
Exit Code: 3221225501
Command Output (stdout):
--
# RUN: at line 5
C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/bin/flang.exe -L"C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/lib/clang/23/lib/aarch64-pc-windows-msvc" C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang-rt\test\Driver\exec.f90 -o C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\runtimes\runtimes-bins\flang-rt\test\Driver\Output\exec.f90.tmp
# executed command: C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/bin/flang.exe -LC:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/lib/clang/23/lib/aarch64-pc-windows-msvc 'C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang-rt\test\Driver\exec.f90' -o 'C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\runtimes\runtimes-bins\flang-rt\test\Driver\Output\exec.f90.tmp'
# .---command stderr------------
# | Assertion failed: implDenseElementType && "`::mlir::FloatType` expected its base interface `::mlir::DenseElementType` to be registered", file C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/tools/mlir/include\mlir/IR/BuiltinTypeInterfaces.h.inc, line 251
# | 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: C:\\Users\\tcwg\\llvm-worker\\flang-arm64-windows-msvc\\build\\bin\\flang -fc1 -triple aarch64-pc-windows-msvc19.39.33523 -emit-obj -mrelocation-model pic -pic-level 2 -target-cpu generic -target-feature +v8a -target-feature +fp-armv8 -target-feature +neon --dependent-lib=clang_rt.builtins-aarch64.lib -D_MT --dependent-lib=libcmt --dependent-lib=flang_rt.runtime.static.lib -D_MSC_VER=1939 -D_MSC_FULL_VER=193933523 -D_WIN32 -D_M_ARM64=1 -resource-dir C:\\Users\\tcwg\\llvm-worker\\flang-arm64-windows-msvc\\build\\lib\\clang\\23 -mframe-pointer=reserved -o C:\\Users\\tcwg\\AppData\\Local\\Temp\\lit-tmp-pg34yfr3\\exec-0784f5.o -x f95 C:\\Users\\tcwg\\llvm-worker\\flang-arm64-windows-msvc\\llvm-project\\flang-rt\\test\\Driver\\exec.f90
# | Exception Code: 0xC000001D
# | #0 0x00007ff60e89200c (C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\flang.exe+0x90200c)
# | #1 0x00007ffcf206ae50 (C:\WINDOWS\System32\ucrtbase.dll+0x7ae50)
# | #2 0x7a61fffcf206ba5c
# | flang: error: flang frontend command failed due to signal (use -v to see invocation)
# | flang version 23.0.0git (https://github.com/llvm/llvm-project.git e655c36c16c118e3f8ae0c95854f33119218a4bf)
# | Target: aarch64-pc-windows-msvc
# | Thread model: posix
# | InstalledDir: C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin
# | Build config: +assertions
# | flang: note: diagnostic msg:
# | ********************
# |
# | PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
# | Preprocessed source(s) and associated run script(s) are located at:
# | flang: note: diagnostic msg: C:\Users\tcwg\AppData\Local\Temp\lit-tmp-pg34yfr3\exec-06fcfc
# | flang: note: diagnostic msg: C:\Users\tcwg\AppData\Local\Temp\lit-tmp-pg34yfr3\exec-06fcfc.sh
# | flang: note: diagnostic msg:
# |
# | ********************
# `-----------------------------
# error: command failed with exit status: 0xc000001d
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/183891
More information about the Mlir-commits
mailing list