Skip to content

Commit

Permalink
don't hardcode the name of the llc checks script
Browse files Browse the repository at this point in the history
We lose the 'utils' directory name in our advertising line with
this change. We could retain that, but I don't see the point.
This removes a dependency for making the script apply to more than
'llc'. Ie, we'll want to change the script name if it works with 
opt/clang too.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264310 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rotateright committed Mar 24, 2016
1 parent 869a02e commit 8674e1c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions utils/update_llc_test_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@

import argparse
import itertools
# Could be used to advertise this file's name ("autogenerated_note").
# import os
import os # Used to advertise this file's name ("autogenerated_note").
import string
import subprocess
import sys
Expand Down Expand Up @@ -144,10 +143,8 @@ def main():
parser.add_argument('tests', nargs='+')
args = parser.parse_args()

# FIXME: we don't need to hardcode this name.
autogenerated_note = ('; NOTE: Assertions have been autogenerated by '
'utils/update_llc_test_checks.py')
# + os.path.basename(__file__))
+ os.path.basename(__file__))

for test in args.tests:
if args.verbose:
Expand Down

0 comments on commit 8674e1c

Please sign in to comment.