Skip to content

Commit

Permalink
interpreter: use interpreter default bitwidth in run main (#3034)
Browse files Browse the repository at this point in the history
  • Loading branch information
superlopuh authored Oct 2, 2024
1 parent 4f427e9 commit 07e8eba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xdsl/tools/xdsl_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def register_all_arguments(self, arg_parser: argparse.ArgumentParser):
arg_parser.add_argument(
"--index-bitwidth",
choices=(32, 64),
# Otherwise default is None, overriding interpreter default mechanism
default=Interpreter.DEFAULT_BITWIDTH,
type=int,
nargs="?",
help="Bitwidth of the index type representation.",
Expand Down

0 comments on commit 07e8eba

Please sign in to comment.