Skip to content

Commit 1baa7ee

Browse files
committed
fixup! fixup! fixup! fixup! [mlir][vector] Add convenience types for scalable vectors
Fix typos, add comments, remove include
1 parent aab6b8e commit 1baa7ee

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

mlir/include/mlir/IR/VectorTypes.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
//
9+
// Convenience wrappers for `VectorType` to allow idiomatic code like
10+
// * isa<vector::ScalableVectorType>(type)
11+
//
12+
//===----------------------------------------------------------------------===//
813

9-
#ifndef MLIR_DIALECT_VECTOR_IR_VECTORTYPES_H_
10-
#define MLIR_DIALECT_VECTOR_IR_VECTORTYPES_H_
14+
#ifndef MLIR_IR_VECTORTYPES_H
15+
#define MLIR_IR_VECTORTYPES_H
1116

1217
#include "mlir/IR/BuiltinTypes.h"
13-
#include "mlir/IR/Diagnostics.h"
1418
#include "mlir/IR/Types.h"
1519

1620
namespace mlir {
@@ -44,4 +48,4 @@ class FixedVectorType : public VectorType {
4448
} // namespace vector
4549
} // namespace mlir
4650

47-
#endif // MLIR_DIALECT_VECTOR_IR_VECTORTYPES_H_
51+
#endif // MLIR_IR_VECTORTYPES_H

0 commit comments

Comments
 (0)