[all-commits] [llvm/llvm-project] 890561: [UpdateTestChecks] Use common ir function name mat...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Mar 24 03:59:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8905617ee3acec9471c34afd6258d18de801ea29
      https://github.com/llvm/llvm-project/commit/8905617ee3acec9471c34afd6258d18de801ea29
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-03-24 (Tue, 24 Mar 2020)

  Changed paths:
    M llvm/utils/UpdateTestChecks/common.py
    M llvm/utils/update_analyze_test_checks.py
    M llvm/utils/update_test_checks.py

  Log Message:
  -----------
  [UpdateTestChecks] Use common ir function name matcher and extend to accept periods in names (PR37586)

Remove the local versions of the IR_FUNCTION_RE matcher (they weren't doing anything different), and ensure all the function name matchers accept '.' and '-'.

We don't need to use '\.' inside python regex sets either, or '\-' as long as thats at the end of the set.




More information about the All-commits mailing list