[mlir][Vector] Fix -Wunused-function in VectorEmulateNarrowType.cpp (NFC)

/data/llvm-project/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:229:21: error: unused function 'operator<<' [-Werror,-Wunused-function]
static raw_ostream &operator<<(raw_ostream &os,
                    ^
1 error generated.
This commit is contained in:
Jie Fu 2023-09-18 21:47:33 +08:00
parent d4d8f214a3
commit dd6dde1166

View File

@ -226,7 +226,7 @@ struct BitCastBitsEnumerator {
} // namespace
static raw_ostream &operator<<(raw_ostream &os,
[[maybe_unused]] static raw_ostream &operator<<(raw_ostream &os,
const SmallVector<SourceElementRangeList> &vec) {
for (const auto &l : vec) {
for (auto it : llvm::enumerate(l)) {