We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e6ea09 commit 7c64790Copy full SHA for 7c64790
clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
@@ -288,7 +288,7 @@ mlir::Value CIRAttrToValue::visitCirAttr(cir::ConstArrayAttr attr) {
288
289
/// ZeroAttr visitor.
290
mlir::Value CIRAttrToValue::visitCirAttr(cir::ZeroAttr attr) {
291
- auto loc = parentOp->getLoc();
+ mlir::Location loc = parentOp->getLoc();
292
return rewriter.create<mlir::LLVM::ZeroOp>(
293
loc, converter->convertType(attr.getType()));
294
}
0 commit comments