Skip to content

Commit

Permalink
Correct variable case
Browse files Browse the repository at this point in the history
  • Loading branch information
SLTozer committed Jun 13, 2024
1 parent 66adcc0 commit 08aa511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void registerToLLVMIRTranslation() {
// When printing LLVM IR, we should convert the module to the debug info
// format that LLVM expects us to print.
// See https://llvm.org/docs/RemoveDIsDebugInfo.html
llvm::ScopedDbgInfoFormatSetter FormatSetter(*llvmModule,
llvm::ScopedDbgInfoFormatSetter formatSetter(*llvmModule,
WriteNewDbgInfoFormat);
if (WriteNewDbgInfoFormat)
llvmModule->removeDebugIntrinsicDeclarations();
Expand Down
2 changes: 1 addition & 1 deletion mlir/test/lib/Dialect/Test/TestToLLVMIRTranslation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void registerTestToLLVMIR() {
// When printing LLVM IR, we should convert the module to the debug info
// format that LLVM expects us to print.
// See https://llvm.org/docs/RemoveDIsDebugInfo.html
llvm::ScopedDbgInfoFormatSetter FormatSetter(*llvmModule,
llvm::ScopedDbgInfoFormatSetter formatSetter(*llvmModule,
WriteNewDbgInfoFormat);
if (WriteNewDbgInfoFormat)
llvmModule->removeDebugIntrinsicDeclarations();
Expand Down

0 comments on commit 08aa511

Please sign in to comment.