[clang][cir][nfc] Fix comments, add missing EOF (#190623)

This commit is contained in:
Andrzej Warzyński 2026-04-06 18:06:57 +01:00 committed by GitHub
parent b44d2c977c
commit 38c53b3eb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -183,8 +183,8 @@ static mlir::Value emitNeonSplat(CIRGenBuilderTy &builder, mlir::Location loc,
}
/// Build a constant shift amount vector of `vecTy` to shift a vector
/// Here `shitfVal` is a constant integer that will be splated into a
/// a const vector of `vecTy` which is the return of this function
/// Here `shitfVal` is a constant integer that will be broadcast into a
/// a const vector of `vecTy` which is the return value of this function
static mlir::Value emitNeonShiftVector(CIRGenBuilderTy &builder,
mlir::Value shiftVal,
cir::VectorType vecTy,

View File

@ -1476,6 +1476,7 @@ poly16x8_t test_vmull_high_p8(poly8x16_t a, poly8x16_t b) {
//===------------------------------------------------------===//
// 2.1.3.1.1. Vector Shift Left
// https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#vector-shift-left
//===------------------------------------------------------===//
// ALL-LABEL: test_vshld_n_s64
@ -1703,4 +1704,4 @@ uint64x1_t test_vshl_n_u64(uint64x1_t a) {
// LLVM: [[VSHL_N:%.*]] = shl <1 x i64> [[TMP1]], splat (i64 1)
// LLVM: ret <1 x i64> [[VSHL_N]]
return vshl_n_u64(a, 1);
}
}