From d64038f99670211c14097b6ce6cb3dbee9d4db36 Mon Sep 17 00:00:00 2001 From: wizardengineer Date: Sun, 2 Nov 2025 01:18:49 -0500 Subject: [PATCH] [CIR][NFC] Using type explicitly for pslldqi construct --- clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp b/clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp index 544921e9fefe..6b03b915f3ea 100644 --- a/clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp +++ b/clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp @@ -161,9 +161,9 @@ static mlir::Value emitX86SExtMask(CIRGenFunction &cgf, mlir::Value op, static mlir::Value emitX86PSLLDQIByteShift(CIRGenFunction &cgf, const CallExpr *E, ArrayRef Ops) { - auto &builder = cgf.getBuilder(); + CIRGenBuilderTy &builder = cgf.getBuilder(); unsigned shiftVal = getIntValueFromConstOp(Ops[1]) & 0xff; - auto loc = cgf.getLoc(E->getExprLoc()); + mlir::Location loc = cgf.getLoc(E->getExprLoc()); auto resultType = cast(Ops[0].getType()); // If pslldq is shifting the vector more than 15 bytes, emit zero.