[clang] [clang][cir] Add missing tests for SVE DUP intrinsics (PR #223932)

Vicky Nguyen via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 16 22:10:26 PDT 2026


================
@@ -398,7 +398,7 @@ mlir::Type CIRGenTypes::convertType(QualType type) {
                                         /*is_scalable=*/true);
       break;
     case BuiltinType::SveBFloat16:
-      resultType = cir::VectorType::get(builder.getFp16Ty(), 8,
+      resultType = cir::VectorType::get(builder.getBfloat16Ty(), 8,
----------------
iamvickynguyen wrote:

Nice catch! I'm curious how we can prevent this kind of typo 🤔 ? Would it make sense to have some tests or do you expect this to be covered by some tests in the future?

https://github.com/llvm/llvm-project/pull/223932


More information about the cfe-commits mailing list