Commit 6156488
committed
[mlir][spirv] Add missing #include in SPIRVImageInterfaces.h
SPIRVImageInterfaces.h.inc uses some types, e.g. mlir::TypedValue,
without #include the necessary headers. This is fine most of the time,
but we did run into a weird case where bazel fails to compile
//mlir:SPIRVImageInterfaces on clang19 for ChromiumOS when parse_headers
(see [1]) is specified.
[1]: https://bazel.build/docs/bazel-and-cpp#toolchain-features1 parent e261f28 commit 6156488
File tree
1 file changed
+2
-0
lines changed- mlir/include/mlir/Dialect/SPIRV/Interfaces
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
0 commit comments