[PATCH] D61148: [utils] allow opt-8, opt-9 distro

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 03:36:55 PDT 2019


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

I think there may be some value to compare how releases evolve..



================
Comment at: utils/update_test_checks.py:71
   opt_basename = os.path.basename(args.opt_binary)
-  if (opt_basename != "opt"):
+  if (opt_basename != "opt" and opt_basename[0:4] != "opt-"):
     print('ERROR: Unexpected opt name: ' + opt_basename, file=sys.stderr)
----------------
We can probably use `if not re.match(r'^opt(-\d+)?$', opt_basename):`



Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61148/new/

https://reviews.llvm.org/D61148





More information about the llvm-commits mailing list