[clang] [CIR] Upstream insert op for VectorType (PR #139146)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Thu May 8 15:26:10 PDT 2025


================
@@ -418,6 +429,13 @@ RValue CIRGenFunction::emitLoadOfLValue(LValue lv, SourceLocation loc) {
   if (lv.isSimple())
     return RValue::get(emitLoadOfScalar(lv, loc));
 
+  if (lv.isVectorElt()) {
+    auto load =
----------------
andykaylor wrote:

Don't use `auto` here.

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


More information about the cfe-commits mailing list