diff options
Diffstat (limited to 'llvm/utils/update_analyze_test_checks.py')
| -rwxr-xr-x | llvm/utils/update_analyze_test_checks.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/utils/update_analyze_test_checks.py b/llvm/utils/update_analyze_test_checks.py index 97089129a29..37803656aa2 100755 --- a/llvm/utils/update_analyze_test_checks.py +++ b/llvm/utils/update_analyze_test_checks.py @@ -52,16 +52,12 @@ IR_FUNCTION_RE = re.compile('^\s*define\s+(?:internal\s+)?[^@]*@([\w-]+)\s*\(') def main(): from argparse import RawTextHelpFormatter parser = argparse.ArgumentParser(description=__doc__, formatter_class=RawTextHelpFormatter) - parser.add_argument('-v', '--verbose', action='store_true', - help='Show verbose output') parser.add_argument('--opt-binary', default='opt', help='The opt binary used to generate the test case') parser.add_argument( '--function', help='The function in the test file to update') - parser.add_argument('-u', '--update-only', action='store_true', - help='Only update test if it was already autogened') parser.add_argument('tests', nargs='+') - args = parser.parse_args() + args = common.parse_commandline_args(parser) script_name = os.path.basename(__file__) autogenerated_note = (ADVERT + 'utils/' + script_name) |

