Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ static mlir::Value emitX86SExtMask(CIRGenFunction &cgf, mlir::Value op,
static mlir::Value emitX86PSLLDQIByteShift(CIRGenFunction &cgf,
const CallExpr *E,
ArrayRef<mlir::Value> 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<cir::VectorType>(Ops[0].getType());

// If pslldq is shifting the vector more than 15 bytes, emit zero.
Expand Down
Loading