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.