[Mlir-commits] [mlir] [mlir][SPIRV] Fix build error (PR #111264)

LLVM Continuous Integration llvmlistbot at llvm.org
Sat Oct 5 12:48:57 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `mlir` at step 6 "build-unified-tree".

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

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

```
Step 6 (build-unified-tree) failure: build (failure)
...
5.357 [2999/9/106] Linking CXX executable bin/clang-query
5.398 [2999/8/107] Linking CXX executable bin/clang-installapi
5.409 [2999/7/108] Linking CXX executable bin/arcmt-test
5.940 [2999/6/109] Linking CXX executable bin/clang-tidy
8.426 [2999/5/110] Building CXX object tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/SPIRVToLLVMPass.cpp.o
11.805 [2999/4/111] Building CXX object tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/ConvertLaunchFuncToLLVMCalls.cpp.o
12.155 [2999/3/112] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
12.232 [2998/3/113] Linking CXX static library lib/libLLVMLTO.a
12.236 [2997/3/114] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
12.335 [2996/3/115] Building CXX object tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/SPIRVToLLVM.cpp.o
FAILED: tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/SPIRVToLLVM.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/buildbot/premerge-monolithic-linux/build/tools/mlir/lib/Conversion/SPIRVToLLVM -I/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM -I/build/buildbot/premerge-monolithic-linux/build/include -I/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include -I/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/include -I/build/buildbot/premerge-monolithic-linux/build/tools/mlir/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/SPIRVToLLVM.cpp.o -MF tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/SPIRVToLLVM.cpp.o.d -o tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/SPIRVToLLVM.cpp.o -c /build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:373:20: error: no matching function for call to 'processCountOrOffset'
    Value offset = processCountOrOffset(loc, op.getOffset(), srcType, dstType,
                   ^~~~~~~~~~~~~~~~~~~~
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const TypeConverter' to 'const LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
             ^
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:375:19: error: no matching function for call to 'processCountOrOffset'
    Value count = processCountOrOffset(loc, op.getCount(), srcType, dstType,
                  ^~~~~~~~~~~~~~~~~~~~
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const TypeConverter' to 'const LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
             ^
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:461:20: error: no matching function for call to 'processCountOrOffset'
    Value offset = processCountOrOffset(loc, op.getOffset(), srcType, dstType,
                   ^~~~~~~~~~~~~~~~~~~~
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const TypeConverter' to 'const LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
             ^
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:463:19: error: no matching function for call to 'processCountOrOffset'
    Value count = processCountOrOffset(loc, op.getCount(), srcType, dstType,
                  ^~~~~~~~~~~~~~~~~~~~
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const TypeConverter' to 'const LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
             ^
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:514:20: error: no matching function for call to 'processCountOrOffset'
    Value offset = processCountOrOffset(loc, op.getOffset(), srcType, dstType,
                   ^~~~~~~~~~~~~~~~~~~~
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const TypeConverter' to 'const LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
             ^
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:516:19: error: no matching function for call to 'processCountOrOffset'
    Value count = processCountOrOffset(loc, op.getCount(), srcType, dstType,
                  ^~~~~~~~~~~~~~~~~~~~
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const TypeConverter' to 'const LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
             ^
/build/buildbot/premerge-monolithic-linux/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:1381:41: error: no member named 'convertFunctionSignature' in 'mlir::TypeConverter'

```

</details>

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


More information about the Mlir-commits mailing list