[Mlir-commits] [mlir] [MLIR][WasmSSA] Instruction parser refactoring of WasmSSA importer (PR #195500)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat May 2 22:56:36 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>[code=1] tools/mlir/lib/Target/Wasm/CMakeFiles/obj.MLIRTargetWasmImport.dir/TranslateFromWasm.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/lib/Target/Wasm/CMakeFiles/obj.MLIRTargetWasmImport.dir/TranslateFromWasm.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -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:\_work\llvm-project\llvm-project\build\tools\mlir\lib\Target\Wasm -IC:\_work\llvm-project\llvm-project\mlir\lib\Target\Wasm -IC:\_work\llvm-project\llvm-project\build\tools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -IC:\_work\llvm-project\llvm-project\build\include -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw -Wundef -Werror=mismatched-tags -Werror=global-constructors /O2 /Ob2 -std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes /Fotools\mlir\lib\Target\Wasm\CMakeFiles\obj.MLIRTargetWasmImport.dir\TranslateFromWasm.cpp.obj /Fdtools\mlir\lib\Target\Wasm\CMakeFiles\obj.MLIRTargetWasmImport.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Target\Wasm\TranslateFromWasm.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Target\Wasm\TranslateFromWasm.cpp:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Dialect/WasmSSA/IR/WasmSSA.h:12:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bytecode/BytecodeOpInterface.h:17:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bytecode/BytecodeImplementation.h:19:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/IR/Dialect.h:17:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/IR/OperationSupport.h:19:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/IR/BuiltinAttributes.h(346,14): warning: 'complex' is deprecated: warning STL4037: The effect of instantiating the template std::complex for any type other than float, double, or long double is unspecified. You can define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to suppress this warning. [-Wdeprecated-declarations]
346 | return {APFloat(*smt, value.real()), APFloat(*smt, value.imag())};
| ^
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\complex(1333,5): note: 'complex' has been explicitly marked deprecated here
1333 | _DEPRECATE_NONFLOATING_COMPLEX
| ^
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\yvals_core.h(1413,7): note: expanded from macro '_DEPRECATE_NONFLOATING_COMPLEX'
1413 | [[deprecated("warning STL4037: " \
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Target\Wasm\TranslateFromWasm.cpp:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Dialect/WasmSSA/IR/WasmSSA.h:12:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bytecode/BytecodeOpInterface.h:17:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bytecode/BytecodeImplementation.h:17:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/IR/Attributes.h:12:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/IR/AttributeSupport.h:16:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/IR/MLIRContext.h:12:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Support/LLVM.h:23:
In file included from C:\_work\llvm-project\llvm-project\llvm\include\llvm/Support/Casting.h:20:
In file included from C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\memory:14:
In file included from C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\xmemory:15:
In file included from C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\xutility:11:
In file included from C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\__msvc_iter_core.hpp:10:
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(42,19): error: static assertion failed due to requirement 'is_integral_v<std::byte>': integer_sequence<T, I...> requires T to be an integral type.
42 | static_assert(is_integral_v<_Ty>, "integer_sequence<T, I...> requires T to be an integral type.");
| ^~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\mlir\lib\Target\Wasm\TranslateFromWasm.cpp(242,5): note: in instantiation of template class 'std::integer_sequence<std::byte, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255>' requested here
242 | castIndexSequence(std::index_sequence<IS...>) {
| ^
C:\_work\llvm-project\llvm-project\mlir\lib\Target\Wasm\TranslateFromWasm.cpp(247,5): note: in instantiation of function template specialization '(anonymous namespace)::castIndexSequence<std::byte, 0ULL, 1ULL, 2ULL, 3ULL, 4ULL, 5ULL, 6ULL, 7ULL, 8ULL, 9ULL, 10ULL, 11ULL, 12ULL, 13ULL, 14ULL, 15ULL, 16ULL, 17ULL, 18ULL, 19ULL, 20ULL, 21ULL, 22ULL, 23ULL, 24ULL, 25ULL, 26ULL, 27ULL, 28ULL, 29ULL, 30ULL, 31ULL, 32ULL, 33ULL, 34ULL, 35ULL, 36ULL, 37ULL, 38ULL, 39ULL, 40ULL, 41ULL, 42ULL, 43ULL, 44ULL, 45ULL, 46ULL, 47ULL, 48ULL, 49ULL, 50ULL, 51ULL, 52ULL, 53ULL, 54ULL, 55ULL, 56ULL, 57ULL, 58ULL, 59ULL, 60ULL, 61ULL, 62ULL, 63ULL, 64ULL, 65ULL, 66ULL, 67ULL, 68ULL, 69ULL, 70ULL, 71ULL, 72ULL, 73ULL, 74ULL, 75ULL, 76ULL, 77ULL, 78ULL, 79ULL, 80ULL, 81ULL, 82ULL, 83ULL, 84ULL, 85ULL, 86ULL, 87ULL, 88ULL, 89ULL, 90ULL, 91ULL, 92ULL, 93ULL, 94ULL, 95ULL, 96ULL, 97ULL, 98ULL, 99ULL, 100ULL, 101ULL, 102ULL, 103ULL, 104ULL, 105ULL, 106ULL, 107ULL, 108ULL, 109ULL, 110ULL, 111ULL, 112ULL, 113ULL, 114ULL, 115ULL, 116ULL, 117ULL, 118ULL, 119ULL, 120ULL, 121ULL, 122ULL, 123ULL, 124ULL, 125ULL, 126ULL, 127ULL, 128ULL, 129ULL, 130ULL, 131ULL, 132ULL, 133ULL, 134ULL, 135ULL, 136ULL, 137ULL, 138ULL, 139ULL, 140ULL, 141ULL, 142ULL, 143ULL, 144ULL, 145ULL, 146ULL, 147ULL, 148ULL, 149ULL, 150ULL, 151ULL, 152ULL, 153ULL, 154ULL, 155ULL, 156ULL, 157ULL, 158ULL, 159ULL, 160ULL, 161ULL, 162ULL, 163ULL, 164ULL, 165ULL, 166ULL, 167ULL, 168ULL, 169ULL, 170ULL, 171ULL, 172ULL, 173ULL, 174ULL, 175ULL, 176ULL, 177ULL, 178ULL, 179ULL, 180ULL, 181ULL, 182ULL, 183ULL, 184ULL, 185ULL, 186ULL, 187ULL, 188ULL, 189ULL, 190ULL, 191ULL, 192ULL, 193ULL, 194ULL, 195ULL, 196ULL, 197ULL, 198ULL, 199ULL, 200ULL, 201ULL, 202ULL, 203ULL, 204ULL, 205ULL, 206ULL, 207ULL, 208ULL, 209ULL, 210ULL, 211ULL, 212ULL, 213ULL, 214ULL, 215ULL, 216ULL, 217ULL, 218ULL, 219ULL, 220ULL, 221ULL, 222ULL, 223ULL, 224ULL, 225ULL, 226ULL, 227ULL, 228ULL, 229ULL, 230ULL, 231ULL, 232ULL, 233ULL, 234ULL, 235ULL, 236ULL, 237ULL, 238ULL, 239ULL, 240ULL, 241ULL, 242ULL, 243ULL, 244ULL, 245ULL, 246ULL, 247ULL, 248ULL, 249ULL, 250ULL, 251ULL, 252ULL, 253ULL, 254ULL, 255ULL>' requested here
247 | castIndexSequence<std::byte>(std::make_index_sequence<256>());
| ^
C:\_work\llvm-project\llvm-project\mlir\lib\Target\Wasm\TranslateFromWasm.cpp(247,5): error: constexpr variable 'all8bitsBytes' must be initialized by a constant expression
247 | castIndexSequence<std::byte>(std::make_index_sequence<256>());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/195500
More information about the Mlir-commits
mailing list