[all-commits] [llvm/llvm-project] 87f8a0: [Utils] Add a switch controlling prefix warnings i...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Mon Feb 1 18:15:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87f8a08ce36e5bc72f11129d2cf36b5848f86f63
      https://github.com/llvm/llvm-project/commit/87f8a08ce36e5bc72f11129d2cf36b5848f86f63
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/common-label-different-bodies.test
    M llvm/utils/UpdateTestChecks/common.py

  Log Message:
  -----------
  [Utils] Add a switch controlling prefix warnings in UpdateTestChecks

The switch controls both unused prefix warnings, and warnings about
functions which differ under different runs for a prefix, and, thus, end
up not having asserts for that prefix.

(If the latter case spans to all functions, then the former case kicks
in)

The switch is on by default, and can be disabled.

Differential Revision: https://reviews.llvm.org/D95829




More information about the All-commits mailing list