Skip to content

Commit

Permalink
fix clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
mren2 committed Mar 25, 2024
1 parent 53f78a1 commit 8f8e7a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/src/ir.cc
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ void init_triton_ir(py::module &&m) {
llvm::raw_string_ostream os(str);
auto printingFlags = OpPrintingFlags();
bool dumpLoc = !::triton::tools::getBoolEnv("DISABLE_LOC_DUMP");
if (dumpLoc) printingFlags.enableDebugInfo();
if (dumpLoc)
printingFlags.enableDebugInfo();
self->print(os, printingFlags);
return str;
})
Expand Down Expand Up @@ -438,7 +439,8 @@ void init_triton_ir(py::module &&m) {
llvm::raw_string_ostream os(str);
auto printingFlags = OpPrintingFlags();
bool dumpLoc = !::triton::tools::getBoolEnv("DISABLE_LOC_DUMP");
if (dumpLoc) printingFlags.enableDebugInfo();
if (dumpLoc)
printingFlags.enableDebugInfo();
self.print(os, printingFlags);
return str;
})
Expand Down

0 comments on commit 8f8e7a0

Please sign in to comment.