[Mlir-commits] [mlir] [mlir][SPIRV] Fix build error (PR #111264)
LLVM Continuous Integration
llvmlistbot at llvm.org
Sat Oct 5 12:52:07 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ppc64le-mlir-rhel-clang` running on `ppc64le-mlir-rhel-test` while building `mlir` at step 5 "build-check-mlir-build-only".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/129/builds/7131
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-check-mlir-build-only) failure: build (failure)
...
57.913 [22/6/4044] Linking CXX static library lib/libMLIRExecutionEngine.a
58.085 [19/8/4045] Linking CXX static library lib/libMLIRCAPIExecutionEngine.a
58.115 [19/7/4046] Linking CXX static library lib/libMLIRJitRunner.a
58.726 [18/7/4047] Linking CXX executable bin/mlir-query
62.235 [18/6/4048] Linking CXX executable bin/llc
63.055 [18/5/4049] Linking CXX executable tools/mlir/unittests/Target/LLVM/MLIRTargetLLVMTests
63.414 [18/4/4050] Building CXX object tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/ConvertLaunchFuncToLLVMCalls.cpp.o
66.154 [18/3/4051] Linking CXX executable tools/mlir/unittests/ExecutionEngine/MLIRExecutionEngineTests
66.713 [18/2/4052] Linking CXX executable bin/mlir-cpu-runner
67.880 [18/1/4053] 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 /home/buildbots/llvm-external-buildbots/clang.16.0.1/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/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/build/tools/mlir/lib/Conversion/SPIRVToLLVM -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/mlir/lib/Conversion/SPIRVToLLVM -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/build/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/mlir/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/build/tools/mlir/include -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 -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -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 /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^~~~~~~~~~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^~~~~~~~~~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^~~~~~~~~~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^~~~~~~~~~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^~~~~~~~~~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^~~~~~~~~~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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,
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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