Skip to content

Commit d64038f

Browse files
[CIR][NFC] Using type explicitly for pslldqi construct
1 parent a8000bb commit d64038f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ static mlir::Value emitX86SExtMask(CIRGenFunction &cgf, mlir::Value op,
161161
static mlir::Value emitX86PSLLDQIByteShift(CIRGenFunction &cgf,
162162
const CallExpr *E,
163163
ArrayRef<mlir::Value> Ops) {
164-
auto &builder = cgf.getBuilder();
164+
CIRGenBuilderTy &builder = cgf.getBuilder();
165165
unsigned shiftVal = getIntValueFromConstOp(Ops[1]) & 0xff;
166-
auto loc = cgf.getLoc(E->getExprLoc());
166+
mlir::Location loc = cgf.getLoc(E->getExprLoc());
167167
auto resultType = cast<cir::VectorType>(Ops[0].getType());
168168

169169
// If pslldq is shifting the vector more than 15 bytes, emit zero.

0 commit comments

Comments
 (0)