Skip to content

[mlir][SPIRV] Fix build error #111264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

matthias-springer
Copy link
Member

@matthias-springer matthias-springer commented Oct 5, 2024

Fix build error that was introduced by #111250. Also, the deleted function is not needed at all.

../llvm-project/mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h: In member function ‘const mlir::LLVMTypeConverter* mlir::SPIRVToLLVMConversion<SPIRVOp>::getTypeConverter() const’:
../llvm-project/mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h:35:12: error: invalid ‘static_cast’ from type ‘const mlir::TypeConverter*’ to type ‘const mlir::LLVMTypeConverter*’
   35 |     return static_cast<const LLVMTypeConverter *>(
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   36 |         ConversionPattern::getTypeConverter());
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../llvm-project/mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h:21:7: note: class type ‘const mlir::LLVMTypeConverter’ is incomplete

Fix build error that was introduced by #111250. Also, the deleted function is not needed at all.
@llvmbot
Copy link
Member

llvmbot commented Oct 5, 2024

@llvm/pr-subscribers-mlir-spirv

@llvm/pr-subscribers-mlir

Author: Matthias Springer (matthias-springer)

Changes

Fix build error that was introduced by #111250. Also, the deleted function is not needed at all.


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

1 Files Affected:

  • (modified) mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h (-6)
diff --git a/mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h b/mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h
index e59373c955fc3b..e78b954d5e0d52 100644
--- a/mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h
+++ b/mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h
@@ -29,12 +29,6 @@ class SPIRVToLLVMConversion : public OpConversionPattern<SPIRVOp> {
                         const LLVMTypeConverter &typeConverter,
                         PatternBenefit benefit = 1)
       : OpConversionPattern<SPIRVOp>(typeConverter, context, benefit) {}
-
-protected:
-  const LLVMTypeConverter *getTypeConverter() const {
-    return static_cast<const LLVMTypeConverter *>(
-        ConversionPattern::getTypeConverter());
-  }
 };
 
 /// Encodes global variable's descriptor set and binding into its name if they

@matthias-springer matthias-springer merged commit e36a393 into main Oct 5, 2024
9 of 12 checks passed
@matthias-springer matthias-springer deleted the users/matthias-springer/fix_build branch October 5, 2024 19:46
@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

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

Here is the relevant piece of the build log for the reference
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'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder flang-aarch64-out-of-tree running on linaro-flang-aarch64-out-of-tree while building mlir at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
17.871 [53/4/77] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
17.898 [52/4/78] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
17.921 [51/4/79] Linking CXX static library lib/libLLVMAsmPrinter.a
17.958 [28/26/80] Linking CXX static library lib/libLLVMLTO.a
18.092 [19/34/81] Linking CXX executable bin/clang-fuzzer-dictionary
18.566 [19/33/82] Building CXX object tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/ConvertLaunchFuncToLLVMCalls.cpp.o
18.834 [19/32/83] Linking CXX executable bin/clang-offload-packager
19.030 [19/31/84] Linking CXX executable bin/llvm-libtool-darwin
19.036 [19/30/85] Linking CXX executable bin/llvm-lipo
19.572 [19/29/86] 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-out-of-tree/build_llvm/tools/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_llvm/include -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/llvm/include -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/mlir/include -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_llvm/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/tcwg-buildbot/worker/flang-aarch64-out-of-tree/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'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder openmp-offload-sles-build-only running on rocm-worker-hw-04-sles while building mlir at step 5 "compile-openmp".

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

Here is the relevant piece of the build log for the reference
Step 5 (compile-openmp) failure: build (failure)
...
26.379 [932/32/6003] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-extract.cpp.o
26.380 [931/32/6004] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-converter.cpp.o
26.380 [930/32/6005] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-fdr-dump.cpp.o
26.393 [929/32/6006] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-graph-diff.cpp.o
26.398 [928/32/6007] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-registry.cpp.o
26.400 [927/32/6008] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-graph.cpp.o
26.401 [926/32/6009] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-stacks.cpp.o
26.404 [925/32/6010] Building CXX object tools/llvm-yaml-parser-fuzzer/CMakeFiles/llvm-yaml-parser-fuzzer.dir/DummyYAMLParserFuzzer.cpp.o
26.413 [924/32/6011] Building CXX object tools/llvm-yaml-numeric-parser-fuzzer/CMakeFiles/llvm-yaml-numeric-parser-fuzzer.dir/yaml-numeric-parser-fuzzer.cpp.o
26.414 [923/32/6012] 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 /usr/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 -Itools/mlir/lib/Conversion/SPIRVToLLVM -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/include -Itools/mlir/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Wno-unused-but-set-parameter -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++1z -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/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp: In member function ‘virtual llvm::LogicalResult {anonymous}::BitFieldInsertPattern::matchAndRewrite(mlir::spirv::BitFieldInsertOp, mlir::OpConversionPattern<mlir::spirv::BitFieldInsertOp>::OpAdaptor, mlir::ConversionPatternRewriter&) const’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:374:41: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                         *getTypeConverter(), rewriter);
                                         ^~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’
 static Value processCountOrOffset(Location loc, Value value, Type srcType,
              ^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:376:40: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                        *getTypeConverter(), rewriter);
                                        ^~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’
 static Value processCountOrOffset(Location loc, Value value, Type srcType,
              ^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp: In member function ‘virtual llvm::LogicalResult {anonymous}::BitFieldSExtractPattern::matchAndRewrite(mlir::spirv::BitFieldSExtractOp, mlir::OpConversionPattern<mlir::spirv::BitFieldSExtractOp>::OpAdaptor, mlir::ConversionPatternRewriter&) const’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:462:41: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                         *getTypeConverter(), rewriter);
                                         ^~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’
 static Value processCountOrOffset(Location loc, Value value, Type srcType,
              ^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:464:40: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                        *getTypeConverter(), rewriter);
                                        ^~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’
 static Value processCountOrOffset(Location loc, Value value, Type srcType,
              ^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp: In member function ‘virtual llvm::LogicalResult {anonymous}::BitFieldUExtractPattern::matchAndRewrite(mlir::spirv::BitFieldUExtractOp, mlir::OpConversionPattern<mlir::spirv::BitFieldUExtractOp>::OpAdaptor, mlir::ConversionPatternRewriter&) const’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:515:41: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                         *getTypeConverter(), rewriter);
                                         ^~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’
 static Value processCountOrOffset(Location loc, Value value, Type srcType,
              ^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:517:40: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                        *getTypeConverter(), rewriter);
                                        ^~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder mlir-rocm-mi200 running on mi200-buildbot while building mlir at step 5 "build-check-mlir-build-only".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-check-mlir-build-only) failure: build (failure)

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder flang-aarch64-sharedlibs running on linaro-flang-aarch64-sharedlibs while building mlir at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
68.963 [2303/6/5126] Copying clang's __clang_cuda_intrinsics.h...
68.964 [2303/5/5127] Copying clang's __clang_cuda_texture_intrinsics.h...
68.964 [2303/4/5128] Copying clang's __clang_cuda_libdevice_declares.h...
68.965 [2303/3/5129] Copying clang's __clang_cuda_math_forward_declares.h...
68.972 [2303/2/5130] Copying clang's __clang_cuda_runtime_wrapper.h...
68.991 [2302/2/5131] Copying clang's hexagon_circ_brev_intrinsics.h...
69.020 [2298/5/5132] Copying clang's hexagon_protos.h...
69.021 [2298/4/5133] Copying clang's hexagon_types.h...
69.022 [2298/3/5134] Copying clang's hvx_hexagon_protos.h...
69.023 [2298/2/5135] 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-sharedlibs/build/tools/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/llvm-project/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/llvm-project/llvm/include -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/llvm-project/mlir/include -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/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/tcwg-buildbot/worker/flang-aarch64-sharedlibs/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'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder flang-aarch64-libcxx running on linaro-flang-aarch64-libcxx while building mlir at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
74.603 [172/5/7046] Creating library symlink lib/libFIRTransforms.so
74.860 [170/6/7047] Linking CXX shared library lib/libFIRTestAnalysis.so.20.0git
74.867 [169/6/7048] Creating library symlink lib/libFIRTestAnalysis.so
75.123 [169/5/7049] Linking CXX shared library lib/libFortranEvaluate.so.20.0git
75.131 [168/5/7050] Creating library symlink lib/libFortranEvaluate.so
75.199 [167/5/7051] Linking CXX shared library lib/libHLFIRTransforms.so.20.0git
75.205 [166/5/7052] Creating library symlink lib/libHLFIRTransforms.so
75.401 [164/6/7053] Linking CXX shared library lib/libflangPasses.so.20.0git
75.408 [163/6/7054] Creating library symlink lib/libflangPasses.so
75.893 [162/6/7055] 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-libcxx/build/tools/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/mlir/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/tools/mlir/include -stdlib=libc++ -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/tcwg-buildbot/worker/flang-aarch64-libcxx/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'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder flang-aarch64-rel-assert running on linaro-flang-aarch64-rel-assert while building mlir at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder flang-aarch64-release running on linaro-flang-aarch64-release while building mlir at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
79.960 [2214/13/4472] Copying clang's __clang_cuda_builtin_vars.h...
79.961 [2214/12/4473] Copying clang's __clang_cuda_math.h...
79.961 [2214/11/4474] Copying clang's __clang_cuda_cmath.h...
79.961 [2214/10/4475] Copying clang's __clang_cuda_complex_builtins.h...
79.962 [2214/9/4476] Copying clang's __clang_cuda_device_functions.h...
79.962 [2214/8/4477] Copying clang's __clang_cuda_intrinsics.h...
79.963 [2214/7/4478] Copying clang's __clang_cuda_texture_intrinsics.h...
79.964 [2214/6/4479] Copying clang's __clang_cuda_libdevice_declares.h...
81.160 [2214/5/4480] Building CXX object tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/ConvertLaunchFuncToLLVMCalls.cpp.o
82.985 [2214/4/4481] 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_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-release/build/tools/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-release/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/llvm/include -I/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/mlir/include -I/home/tcwg-buildbot/worker/flang-aarch64-release/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 -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-release/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'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder flang-aarch64-dylib running on linaro-flang-aarch64-dylib while building mlir at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
71.689 [156/10/6541] Creating library symlink lib/libclang.so.20.0git lib/libclang.so
72.335 [154/11/6542] Linking CXX executable bin/c-arcmt-test
72.747 [154/10/6543] Linking CXX executable tools/flang/unittests/Evaluate/expression.test
72.870 [154/9/6544] Linking CXX executable tools/flang/unittests/Evaluate/folding.test
73.489 [154/8/6545] Linking CXX executable bin/mlir-translate
74.745 [154/7/6546] Linking CXX executable bin/tco
74.773 [154/6/6547] Linking CXX executable bin/fir-opt
74.874 [154/5/6548] Linking CXX executable bin/mlir-query
76.227 [154/4/6549] Linking CXX executable bin/c-index-test
79.003 [154/3/6550] 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-dylib/build/tools/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/mlir/lib/Conversion/SPIRVToLLVM -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/llvm/include -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/mlir/include -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/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/tcwg-buildbot/worker/flang-aarch64-dylib/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'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

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

Here is the relevant piece of the build log for the reference
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'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

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

Here is the relevant piece of the build log for the reference
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'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

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

Here is the relevant piece of the build log for the reference
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'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder mlir-nvidia-gcc7 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/116/builds/4653

Here is the relevant piece of the build log for the reference
Step 5 (build-check-mlir-build-only) failure: build (failure)
...
36.645 [45/10/4524] Linking CXX executable bin/lli
36.860 [45/9/4525] Linking CXX executable bin/toyc-ch5
36.917 [45/8/4526] Linking CXX executable bin/llc
37.174 [45/7/4527] Linking CXX executable tools/mlir/unittests/Target/LLVM/MLIRTargetLLVMTests
37.420 [45/6/4528] Linking CXX executable bin/mlir-translate
38.028 [45/5/4529] Linking CXX executable bin/mlir-cpu-runner
38.140 [45/4/4530] Linking CXX executable tools/mlir/unittests/ExecutionEngine/MLIRExecutionEngineTests
38.219 [45/3/4531] Linking CXX executable bin/mlir-query
39.264 [45/2/4532] Building CXX object tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/ConvertLaunchFuncToLLVMCalls.cpp.o
39.832 [45/1/4533] 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/g++-7 -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-gcc7/llvm.obj/tools/mlir/lib/Conversion/SPIRVToLLVM -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/include -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/include -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Wno-unused-but-set-parameter -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++1z -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-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp: In member function ‘virtual llvm::LogicalResult {anonymous}::BitFieldInsertPattern::matchAndRewrite(mlir::spirv::BitFieldInsertOp, mlir::OpConversionPattern<mlir::spirv::BitFieldInsertOp>::OpAdaptor, mlir::ConversionPatternRewriter&) const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:374:41: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                         *getTypeConverter(), rewriter);
                                         ^~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’
 static Value processCountOrOffset(Location loc, Value value, Type srcType,
              ^~~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:376:40: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                        *getTypeConverter(), rewriter);
                                        ^~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’
 static Value processCountOrOffset(Location loc, Value value, Type srcType,
              ^~~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp: In member function ‘virtual llvm::LogicalResult {anonymous}::BitFieldSExtractPattern::matchAndRewrite(mlir::spirv::BitFieldSExtractOp, mlir::OpConversionPattern<mlir::spirv::BitFieldSExtractOp>::OpAdaptor, mlir::ConversionPatternRewriter&) const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:462:41: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                         *getTypeConverter(), rewriter);
                                         ^~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’
 static Value processCountOrOffset(Location loc, Value value, Type srcType,
              ^~~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:464:40: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                        *getTypeConverter(), rewriter);
                                        ^~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’
 static Value processCountOrOffset(Location loc, Value value, Type srcType,
              ^~~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp: In member function ‘virtual llvm::LogicalResult {anonymous}::BitFieldUExtractPattern::matchAndRewrite(mlir::spirv::BitFieldUExtractOp, mlir::OpConversionPattern<mlir::spirv::BitFieldUExtractOp>::OpAdaptor, mlir::ConversionPatternRewriter&) const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:515:41: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                         *getTypeConverter(), rewriter);
                                         ^~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’
 static Value processCountOrOffset(Location loc, Value value, Type srcType,
              ^~~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:517:40: error: invalid initialization of reference of type ‘const mlir::LLVMTypeConverter&’ from expression of type ‘const mlir::TypeConverter’
                                        *getTypeConverter(), rewriter);
                                        ^~~~~~~~~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:188:14: note: in passing argument 5 of ‘mlir::Value processCountOrOffset(mlir::Location, mlir::Value, mlir::Type, mlir::Type, const mlir::LLVMTypeConverter&, mlir::ConversionPatternRewriter&)’

Kyvangka1610 added a commit to Kyvangka1610/llvm-project that referenced this pull request Oct 6, 2024
* commit 'FETCH_HEAD':
  [X86] combineAndLoadToBZHI - don't do an return early return if we fail to match a load
  [X86] replace-load-and-with-bzhi.ll - add commuted test cases to show failure to fold
  [X86] replace-load-and-with-bzhi.ll - cleanup check-prefixes to use X86/X64 for 32/64-bit targets
  [ExecutionEngine] Avoid repeated hash lookups (NFC) (llvm#111275)
  [ByteCode] Avoid repeated hash lookups (NFC) (llvm#111273)
  [StaticAnalyzer] Avoid repeated hash lookups (NFC) (llvm#111272)
  [CodeGen] Avoid repeated hash lookups (NFC) (llvm#111274)
  [RISCV] Simplify fixed-vector-fp.ll run lines. NFC
  [libc++][format][1/3] Adds more benchmarks. (llvm#101803)
  [X86] combineOrXorWithSETCC - avoid duplicate SDLoc/operands code. NFC.
  [X86] convertIntLogicToFPLogic - avoid duplicate SDLoc/operands code. NFC.
  [libc] Clean up some include in `libc`. (llvm#110980)
  [X86] combineBitOpWithPACK - avoid duplicate SDLoc/operands code. NFC.
  [X86] combineBitOpWithMOVMSK - avoid duplicate SDLoc/operands code. NFC.
  [X86] combineBitOpWithShift - avoid duplicate SDLoc/operands code. NFC.
  [x86] combineMul - use computeKnownBits directly to find MUL_IMM constant splat.
  [X86] combineSubABS - avoid duplicate SDLoc. NFC.
  [ValueTypes][RISCV] Add v1bf16 type (llvm#111112)
  [VPlan] Add additional FOR hoisting test.
  [clang-tidy] Create bugprone-bitwise-pointer-cast check (llvm#108083)
  [InstCombine] Canonicalize more geps with constant gep bases and constant offsets. (llvm#110033)
  [LV] Honor uniform-after-vectorization in setVectorizedCallDecision.
  [ELF] Pass Ctx & to Arch/
  [ELF] Pass Ctx & to Arch/
  [libc++] Fix a typo (llvm#111239)
  [X86] For minsize memset/memcpy, use byte or double-word accesses (llvm#87003)
  [RISCV] Unify RVBShift_ri and RVBShiftW_ri with Shift_ri and ShiftW_ri. NFC (llvm#111263)
  Revert "Reapply "[AMDGPU][GlobalISel] Fix load/store of pointer vectors, buffer.*.pN (llvm#110714)" (llvm#111059)"
  [libc] Add missing include to __support/StringUtil/tables/stdc_errors.h. (llvm#111271)
  [libc] remove errno.h includes (llvm#110934)
  [NFC][rtsan] Update docs to include [[clang::blocking]] (llvm#111249)
  [RISCV] Give ZEXT_H_RV32 and ZEXT_H_RV64 R-type format to match PACK. NFC
  [mlir][SPIRV] Fix build (2) (llvm#111265)
  [mlir][SPIRV] Fix build error (llvm#111264)
  [mlir][NFC] Mark type converter in `populate...` functions as `const` (llvm#111250)
  [Basic] Avoid repeated hash lookups (NFC) (llvm#111228)
  [RISCV] Use THShift_ri class instead of RVBShift_ri for TH_TST instruction. NFC
  [VPlan] Only generate first lane for VPPredInstPHI if no others used.
  [ELF] Don't call getPPC64TargetInfo outside Driver. NFC
  [GISel] Don't preserve NSW flag when converting G_MUL of INT_MIN to G_SHL. (llvm#111230)
  [APInt] Slightly simplify APInt::ashrSlowCase. NFC (llvm#111220)
  [Sema] Avoid repeated hash lookups (NFC) (llvm#111227)
  [Affine] Avoid repeated hash lookups (NFC) (llvm#111226)
  [Driver] Avoid repeated hash lookups (NFC) (llvm#111225)
  [clang][test] Remove a broken bytecode test
  [ELF] Pass Ctx &
  [ELF] Pass Ctx & to Relocations

Signed-off-by: kyvangka1610 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants