[Mlir-commits] [mlir] [mlir][SPIRV] Fix build error (PR #111264)
LLVM Continuous Integration
llvmlistbot at llvm.org
Sat Oct 5 12:51:10 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-debug-reverse-iteration` running on `linaro-flang-aarch64-debug-reverse-iteration` while building `mlir` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/20/builds/4058
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
85.055 [1106/37/5556] Building CXX object tools/clang/lib/InstallAPI/CMakeFiles/obj.clangInstallAPI.dir/Frontend.cpp.o
85.063 [1106/36/5557] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o
85.070 [1106/35/5558] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o
85.085 [1101/39/5559] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o
85.092 [1099/40/5560] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o
85.100 [1097/41/5561] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o
85.102 [1097/40/5562] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o
85.103 [1097/39/5563] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugSuppression.cpp.o
85.129 [1097/38/5564] Building CXX object tools/clang/lib/InstallAPI/CMakeFiles/obj.clangInstallAPI.dir/Visitor.cpp.o
85.221 [1097/37/5565] 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
/usr/local/bin/c++ -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/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/build/tools/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/llvm/include -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/mlir/include -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/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 -Wundef -Werror=mismatched-tags -Werror=global-constructors -g -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -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/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
../llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:373:20: error: no matching function for call to 'processCountOrOffset'
373 | Value offset = processCountOrOffset(loc, op.getOffset(), srcType, dstType,
| ^~~~~~~~~~~~~~~~~~~~
../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
188 | static Value processCountOrOffset(Location loc, Value value, Type srcType,
| ^
189 | Type dstType,
190 | const LLVMTypeConverter &converter,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:375:19: error: no matching function for call to 'processCountOrOffset'
375 | Value count = processCountOrOffset(loc, op.getCount(), srcType, dstType,
| ^~~~~~~~~~~~~~~~~~~~
../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
188 | static Value processCountOrOffset(Location loc, Value value, Type srcType,
| ^
189 | Type dstType,
190 | const LLVMTypeConverter &converter,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:461:20: error: no matching function for call to 'processCountOrOffset'
461 | Value offset = processCountOrOffset(loc, op.getOffset(), srcType, dstType,
| ^~~~~~~~~~~~~~~~~~~~
../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
188 | static Value processCountOrOffset(Location loc, Value value, Type srcType,
| ^
189 | Type dstType,
190 | const LLVMTypeConverter &converter,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:463:19: error: no matching function for call to 'processCountOrOffset'
463 | Value count = processCountOrOffset(loc, op.getCount(), srcType, dstType,
| ^~~~~~~~~~~~~~~~~~~~
../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
188 | static Value processCountOrOffset(Location loc, Value value, Type srcType,
| ^
189 | Type dstType,
190 | const LLVMTypeConverter &converter,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../llvm-project/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:514:20: error: no matching function for call to 'processCountOrOffset'
```
</details>
https://github.com/llvm/llvm-project/pull/111264
More information about the Mlir-commits
mailing list