[mlir] Fix Windows build
authorNicolas Vasilache <ntv@google.com>
Fri, 29 May 2020 21:29:35 +0000 (17:29 -0400)
committerNicolas Vasilache <ntv@google.com>
Fri, 29 May 2020 22:55:21 +0000 (18:55 -0400)
commit7fc225f8c4596d4e51d64e814b21cc49c5e8566b
tree9b18e11b9e82573f7d08a126c483419feb5cdc36
parente6cf402e8364a7a7e483a60aa1fca1213f4fb475
[mlir] Fix Windows build

Summary:
MSVC does not seem to like certain forward declarations.

https://reviews.llvm.org/D80728 introduces an error where
seemingly unrelated .cpp files that include the .h
(but do not otherwise use the class that depends on the forward declaration).

Instead of forward declaration, include the full vector ops definition.

Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80841
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h