[all-commits] [llvm/llvm-project] 447daf: [mlir][Linalg] NFC - Hotfix GenericLoopNestBuilder...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri Jan 3 12:09:29 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 447dafdfc9b19acc88ba771ecac6a6ca89836579
      https://github.com/llvm/llvm-project/commit/447dafdfc9b19acc88ba771ecac6a6ca89836579
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2020-01-03 (Fri, 03 Jan 2020)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp

  Log Message:
  -----------
  [mlir][Linalg] NFC - Hotfix GenericLoopNestBuilder compilation error on older gcc (-fpermissive)

This fixes the error:
```
  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,
```

This was tested independently on a Docker image with gcc-5 by jpienaar@




More information about the All-commits mailing list