Commit 2aef563
authored
Fix SmallVector conversion error with gcc (iree-org#21725)
Fixes the following error I get when compiling with gcc after
iree-org#21719:
```
iree/compiler/src/iree/compiler/Dialect/Stream/Transforms/SpecializeEncodings.cpp: In instantiation of ‘llvm::SmallVector<const T*> mlir::iree_compiler::IREE::Stream::{anonymous}::gatherUsedDialectInterfaces(mlir::ModuleOp) [with T = mlir::iree_compiler::IREE::Stream::AffinityAnalysisDialectInterface]’:
iree/compiler/src/iree/compiler/Dialect/Stream/Transforms/SpecializeEncodings.cpp:524:54: required from here
iree/compiler/Dialect/Stream/Transforms/SpecializeEncodings.cpp:61:10: error: could not convert ‘results’ from ‘SmallVector<[...],4>’ to ‘SmallVector<[...],6>’
61 | return results;
| ^~~~~~~
| |
| SmallVector<[...],4>
ninja: build stopped: subcommand failed.
```
Signed-off-by: Jorn Tuyls <jorn.tuyls@gmail.com>1 parent 022a3c2 commit 2aef563
File tree
2 files changed
+2
-2
lines changed- compiler/src/iree/compiler/Dialect
- Stream/Transforms
- VM/Transforms
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments