Skip to content

Commit d0f3309

Browse files
committed
fix typo
1 parent fbbbaff commit d0f3309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ static void convertModuleFlagsOp(ArrayAttr flags, llvm::IRBuilderBase &builder,
288288
})
289289
.Default([](auto) { return nullptr; });
290290

291-
assert(metadata && "expected valid metadata");
291+
assert(valueMetadata && "expected valid metadata");
292292
llvmModule->addModuleFlag(
293293
convertModFlagBehaviorToLLVM(flagAttr.getBehavior()),
294294
flagAttr.getKey().getValue(), valueMetadata);

0 commit comments

Comments
 (0)