Skip to content

Commit b462141

Browse files
committed
Address code review comment
1 parent df37438 commit b462141

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ namespace {
5555
/// If the given type is a vector type, return the vector's element type.
5656
/// Otherwise return the given type unchanged.
5757
mlir::Type elementTypeIfVector(mlir::Type type) {
58-
if (const auto vecType = mlir::dyn_cast<cir::VectorType>(type)) {
58+
if (const auto vecType = mlir::dyn_cast<cir::VectorType>(type))
5959
return vecType.getElementType();
60-
}
6160
return type;
6261
}
6362
} // namespace

0 commit comments

Comments
 (0)