[all-commits] [llvm/llvm-project] a4e2cf: Revert "[llvm] Make Sequence reverse-iterable"

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Jun 8 10:03:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4e2cf712af3a3c7a4389e400a29da244b276f96
      https://github.com/llvm/llvm-project/commit/a4e2cf712af3a3c7a4389e400a29da244b276f96
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M llvm/include/llvm/ADT/Sequence.h
    M llvm/unittests/ADT/SequenceTest.cpp
    M mlir/include/mlir/IR/BuiltinAttributes.td
    M mlir/lib/Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp

  Log Message:
  -----------
  Revert "[llvm] Make Sequence reverse-iterable"

This reverts commit e772216e708937988c039420d2c559568f91ae27
(and fixup 7f6c878a2c035eb6325ab228d9bc2d257509d959).

The build is broken with gcc5 host compiler:

In file included from
                 from mlir/lib/Dialect/Utils/StructuredOpsUtils.cpp:9:
tools/mlir/include/mlir/IR/BuiltinAttributes.h.inc:424:57: error: type/value mismatch at argument 1 in template parameter list for 'template<class ItTy, class FuncTy, class FuncReturnTy> class llvm::mapped_iterator'
                               std::function<T(ptrdiff_t)>>;
                                                         ^
tools/mlir/include/mlir/IR/BuiltinAttributes.h.inc:424:57: note:   expected a type, got 'decltype (seq<ptrdiff_t>(0, 0))::const_iterator'




More information about the All-commits mailing list