Skip to content

Commit a60d842

Browse files
committed
Address review feedback
1 parent 470cc01 commit a60d842

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
162162
mlir::IntegerAttr alignmentAttr = getAlignmentAttr(alignment);
163163
assert(!cir::MissingFeatures::opLoadStoreVolatile());
164164
assert(!cir::MissingFeatures::opLoadStoreMemOrder());
165-
return create<cir::LoadOp>(loc, ptr, /*isDeref=*/false, alignmentAttr);
165+
return cir::LoadOp::create(*this, loc, ptr, /*isDeref=*/false,
166+
alignmentAttr);
166167
}
167168

168169
mlir::Value createAlignedLoad(mlir::Location loc, mlir::Value ptr,

0 commit comments

Comments
 (0)