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

LLVM Continuous Integration llvmlistbot at llvm.org
Tue Oct 22 20:28:47 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-s390x-linux` running on `systemz-1` while building `mlir` at step 5 "build-unified-tree".

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
56.753 [489/4/4212] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/helpers.c.o
56.778 [488/4/4213] Building CXX object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/echo.cpp.o
56.785 [487/4/4214] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/include-all.c.o
56.787 [486/4/4215] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/main.c.o
56.794 [485/4/4216] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/module.c.o
56.798 [484/4/4217] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/metadata.c.o
56.803 [483/4/4218] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/object.c.o
56.806 [482/4/4219] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/targets.c.o
56.830 [481/4/4220] Building CXX object tools/llvm-cat/CMakeFiles/llvm-cat.dir/llvm-cat.cpp.o
57.211 [480/4/4221] 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 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/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 -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/build/tools/mlir/lib/Dialect/Tosa -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/lib/Dialect/Tosa -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/build/include -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/include -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/include -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/build/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Wno-unused-but-set-parameter -Wno-deprecated-copy -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -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/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/lib/Dialect/Tosa/IR/TosaOps.cpp: In static member function 'static llvm::LogicalResult mlir::tosa::SliceOp::inferReturnTypeComponents(mlir::MLIRContext*, std::optional<mlir::Location>, mlir::tosa::SliceOp::Adaptor, llvm::SmallVectorImpl<mlir::ShapedTypeComponents>&)':
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/lib/Dialect/Tosa/IR/TosaOps.cpp:852:35: error: 'using Adaptor = class mlir::tosa::SliceOpAdaptor' {aka 'class mlir::tosa::SliceOpAdaptor'} has no member named 'getInput'; did you mean 'getInput1'?
  852 |   ShapeAdaptor inputShape(adaptor.getInput().getType());
      |                                   ^~~~~~~~
      |                                   getInput1
57.433 [480/3/4222] Linking CXX executable bin/llc
57.483 [480/2/4223] Linking CXX executable bin/llvm-cat
58.600 [480/1/4224] Linking CXX executable bin/llvm-c-test
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the Mlir-commits mailing list