================
@@ -959,7 +959,20 @@ static mlir::Value emitCommonNeonBuiltinExpr(
   case NEON::BI__builtin_neon_vshlq_n_v:
     return emitCommonNeonShift(cgf.getBuilder(), loc, vTy, ops[0], ops[1],
                                /*shiftLeft=*/true);
-  case NEON::BI__builtin_neon_vshll_n_v:
+  case NEON::BI__builtin_neon_vshll_n_v: {
+    CIRGenBuilderTy &builder = cgf.getBuilder();
+    auto wideEltTy = mlir::cast<cir::IntType>(vTy.getElementType());
+    cir::VectorType narrowVecTy = cir::VectorType::get(
----------------
iamvickynguyen wrote:

Thank you for the suggestion! Using the existing helpers makes this much 
cleaner :grinning: 

https://github.com/llvm/llvm-project/pull/204285
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to