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 e93bbb8 commit 11cf6f2Copy full SHA for 11cf6f2
mlir/lib/Conversion/LLVMCommon/PrintCallHelper.cpp
@@ -67,7 +67,7 @@ LogicalResult mlir::LLVM::createPrintStrCall(
67
auto arrayTy =
68
LLVM::LLVMArrayType::get(IntegerType::get(ctx, 8), elementVals.size());
69
auto globalOp = LLVM::GlobalOp::create(
70
- builder, loc, arrayTy, /*constant=*/true, LLVM::Linkage::Private,
+ builder, loc, arrayTy, /*isConstant=*/true, LLVM::Linkage::Private,
71
ensureSymbolNameIsUnique(moduleOp, symbolName, symbolTables), dataAttr);
72
73
auto ptrTy = LLVM::LLVMPointerType::get(builder.getContext());
0 commit comments