[clang] [CIR][AArch64] Upstream Neon vget_lane/vgetq_lane builtins (PR #186119)

Andrzej WarzyƄski via cfe-commits cfe-commits at lists.llvm.org
Wed May 6 03:07:43 PDT 2026


================
@@ -763,6 +763,13 @@ static mlir::Value emitCommonNeonBuiltinExpr(
   }
 }
 
+static mlir::Value emitAArch64GetLaneBuiltinExpr(CIRGenBuilderTy &builder,
+                                                 mlir::Location loc,
+                                                 mlir::Value vec,
+                                                 mlir::Value lane) {
+  return cir::VecExtractOp::create(builder, loc, vec, lane);
----------------
banach-space wrote:

I don't see any value in creating a function that simply wraps a one-line `return` statement. Please inline this.

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


More information about the cfe-commits mailing list