[mlir][Linalg] NFC - Hotfix GenericLoopNestBuilder compilation error on older gcc...
authorNicolas Vasilache <ntv@google.com>
Fri, 3 Jan 2020 20:05:39 +0000 (15:05 -0500)
committerNicolas Vasilache <ntv@google.com>
Fri, 3 Jan 2020 20:09:23 +0000 (15:09 -0500)
commit447dafdfc9b19acc88ba771ecac6a6ca89836579
tree12401bb0b77e6d631b1b745330774eb31d5b49fb
parent1570084d334311907c70c9179c19af8541524fff
[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@
mlir/lib/Dialect/Linalg/Utils/Utils.cpp