[all-commits] [llvm/llvm-project] a6c59e: [Utils] Deal with occasionally deleted functions

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Dec 31 00:36:56 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a6c59e0792edc46df937b338fe0e68d00cabf90b
      https://github.com/llvm/llvm-project/commit/a6c59e0792edc46df937b338fe0e68d00cabf90b
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2019-12-31 (Tue, 31 Dec 2019)

  Changed paths:
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/sometimes_deleted_function.ll
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/sometimes_deleted_function.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_test_checks/sometimes_deleted_function.test
    M llvm/utils/UpdateTestChecks/common.py

  Log Message:
  -----------
  [Utils] Deal with occasionally deleted functions

When functions exist for some but not all run lines we need to be
careful when selecting the prefix. So far, a common prefix was
potentially chosen as there was never a "conflict" that would have
caused otherwise. With this patch we avoid common prefixes if they
are used by run lines that do not emit the function.

Reviewed By: lebedev.ri

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




More information about the All-commits mailing list