[Mlir-commits] [mlir] [mlir][SPIRV] Fix build error (PR #111264)
LLVM Continuous Integration
llvmlistbot at llvm.org
Sat Oct 5 12:54:13 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `mlir-nvidia` running on `mlir-nvidia` while building `mlir` at step 5 "build-check-mlir-build-only".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/138/builds/4658
<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)
...
33.569 [57/3/4941] Creating library symlink lib/libMLIRGPUTransformOps.so
33.730 [52/7/4942] Linking CXX executable bin/mlir-translate
33.730 [52/6/4943] Linking CXX shared library lib/libMLIRJitRunner.so.20.0git
33.732 [51/6/4944] Linking CXX executable bin/mlir-query
33.734 [51/5/4945] Linking CXX executable tools/mlir/unittests/ExecutionEngine/MLIRExecutionEngineTests
33.736 [51/4/4946] Creating library symlink lib/libMLIRJitRunner.so
33.740 [50/4/4947] Linking CXX executable bin/toyc-ch5
33.883 [50/3/4948] Linking CXX executable bin/mlir-cpu-runner
35.180 [50/2/4949] Building CXX object tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/ConvertLaunchFuncToLLVMCalls.cpp.o
35.232 [50/1/4950] 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/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/tools/mlir/lib/Conversion/SPIRVToLLVM -I/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM -I/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/include -I/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/include -I/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/include -I/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/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 -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 /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:373:20: error: no matching function for call to 'processCountOrOffset'
Value offset = processCountOrOffset(loc, op.getOffset(), srcType, dstType,
^~~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const mlir::TypeConverter' to 'const mlir::LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
^
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:375:19: error: no matching function for call to 'processCountOrOffset'
Value count = processCountOrOffset(loc, op.getCount(), srcType, dstType,
^~~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const mlir::TypeConverter' to 'const mlir::LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
^
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:461:20: error: no matching function for call to 'processCountOrOffset'
Value offset = processCountOrOffset(loc, op.getOffset(), srcType, dstType,
^~~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const mlir::TypeConverter' to 'const mlir::LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
^
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:463:19: error: no matching function for call to 'processCountOrOffset'
Value count = processCountOrOffset(loc, op.getCount(), srcType, dstType,
^~~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const mlir::TypeConverter' to 'const mlir::LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
^
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:514:20: error: no matching function for call to 'processCountOrOffset'
Value offset = processCountOrOffset(loc, op.getOffset(), srcType, dstType,
^~~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const mlir::TypeConverter' to 'const mlir::LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
^
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:516:19: error: no matching function for call to 'processCountOrOffset'
Value count = processCountOrOffset(loc, op.getCount(), srcType, dstType,
^~~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: candidate function not viable: no known conversion from 'const mlir::TypeConverter' to 'const mlir::LLVMTypeConverter' for 5th argument
static Value processCountOrOffset(Location loc, Value value, Type srcType,
^
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/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