Skip to content

Commit

Permalink
fixy
Browse files Browse the repository at this point in the history
  • Loading branch information
dshaaban01 committed Dec 22, 2024
1 parent 3523d39 commit 78df60d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions xdsl/interactive/mlirapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,15 +378,13 @@ def get_query_string(self) -> str:
Function returning a string containing the textual description of the pass
pipeline generated thus far.
"""
if self.current_file_path == "":
query = "-p "
else:
query = self.current_file_path + " -p "
query = self.current_file_path

if self.pass_pipeline:
query += " ".join(val for
val in self.pass_pipeline
)

return f"mlir-opt {query}"

def action_toggle_dark(self) -> None:
Expand Down

0 comments on commit 78df60d

Please sign in to comment.