[PATCH] D72094: [mlir][linalg] Lower linalg to affine loops

Jacques Pienaar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 11:31:17 PST 2020


jpienaar added a comment.

This seems to break on GCC 5.5:

  mlir/mlir-core/mlir/lib/Dialect/Linalg/Utils/Utils.cpp:102:62: error: specialization of 'template<class LoopTy> mlir::edsc::GenericLoopNestRangeBuilder<LoopTy>::GenericLoopNestRangeBuilder(llvm::ArrayRef<mlir::edsc::ValueHandle*>, llvm::ArrayRef<mlir::Value>)' in different namespace [-fpermissive]
       ArrayRef<edsc::ValueHandle *> ivs, ArrayRef<Value> ranges) {
                                                                ^
  mlir/mlir-core/mlir/lib/Dialect/Linalg/Utils/Utils.cpp:13:0:
  /var/lib/buildkite-agent/builds/buildkite-6dd7db7bf5-48dzm-1/mlir/mlir-core/mlir/include/mlir/Dialect/Linalg/Utils/Utils.h:72:3: error:   from definition of 'template<class LoopTy> mlir::edsc::GenericLoopNestRangeBuilder<LoopTy>::GenericLoopNestRangeBuilder(llvm::ArrayRef<mlir::edsc::ValueHandle*>, llvm::ArrayRef<mlir::Value>)' [-fpermissive]
     GenericLoopNestRangeBuilder(ArrayRef<edsc::ValueHandle *> ivs,
     ^
  mlir/mlir-core/mlir/lib/Dialect/Linalg/Utils/Utils.cpp:108:56: error: specialization of 'template<class LoopTy> mlir::edsc::GenericLoopNestRangeBuilder<LoopTy>::GenericLoopNestRangeBuilder(llvm::ArrayRef<mlir::edsc::ValueHandle*>, llvm::ArrayRef<mlir::Value>)' in different namespace [-fpermissive]
       ArrayRef<ValueHandle *> ivs, ArrayRef<Value> ranges) {
                                                          ^
  mlir/mlir-core/mlir/lib/Dialect/Linalg/Utils/Utils.cpp:13:0:
  /var/lib/buildkite-agent/builds/buildkite-6dd7db7bf5-48dzm-1/mlir/mlir-core/mlir/include/mlir/Dialect/Linalg/Utils/Utils.h:72:3: error:   from definition of 'template<class LoopTy> mlir::edsc::GenericLoopNestRangeBuilder<LoopTy>::GenericLoopNestRangeBuilder(llvm::ArrayRef<mlir::edsc::ValueHandle*>, llvm::ArrayRef<mlir::Value>)' [-fpermissive]
     GenericLoopNestRangeBuilder(ArrayRef<edsc::ValueHandle *> ivs,
     ^


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72094/new/

https://reviews.llvm.org/D72094





More information about the llvm-commits mailing list