[Mlir-commits] [mlir] [TOSA] bug fix infer shape for slice (PR #108306)

LLVM Continuous Integration llvmlistbot at llvm.org
Tue Oct 22 20:27:57 PDT 2024


llvm-ci wrote:

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/6665

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
7.270 [52/12/65] Linking CXX executable bin/llvm-extract
7.874 [52/11/66] Linking CXX executable bin/diagtool
8.301 [52/10/67] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
8.377 [52/9/68] Linking CXX shared module lib/CheckerOptionHandlingAnalyzerPlugin.so
8.575 [52/8/69] Linking CXX shared module lib/SampleAnalyzerPlugin.so
9.150 [52/7/70] Linking CXX executable bin/clang-diff
9.363 [52/6/71] Linking CXX executable bin/clang-installapi
9.416 [52/5/72] Linking CXX executable bin/clang-refactor
9.681 [52/4/73] Linking CXX executable bin/arcmt-test
16.374 [52/3/74] Building CXX object tools/mlir/lib/Dialect/Tosa/CMakeFiles/obj.MLIRTosaDialect.dir/IR/TosaOps.cpp.o
FAILED: tools/mlir/lib/Dialect/Tosa/CMakeFiles/obj.MLIRTosaDialect.dir/IR/TosaOps.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/Dialect/Tosa -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/mlir/lib/Dialect/Tosa -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/Dialect/Tosa/CMakeFiles/obj.MLIRTosaDialect.dir/IR/TosaOps.cpp.o -MF tools/mlir/lib/Dialect/Tosa/CMakeFiles/obj.MLIRTosaDialect.dir/IR/TosaOps.cpp.o.d -o tools/mlir/lib/Dialect/Tosa/CMakeFiles/obj.MLIRTosaDialect.dir/IR/TosaOps.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
../llvm-project/mlir/lib/Dialect/Tosa/IR/TosaOps.cpp:852:35: error: no member named 'getInput' in 'mlir::tosa::SliceOpAdaptor'; did you mean 'getInput1'?
  852 |   ShapeAdaptor inputShape(adaptor.getInput().getType());
      |                                   ^~~~~~~~
      |                                   getInput1
tools/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h.inc:13597:10: note: 'getInput1' declared here
 13597 |   ValueT getInput1() {
       |          ^
1 error generated.
16.916 [52/2/75] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
19.111 [52/1/76] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the Mlir-commits mailing list