[all-commits] [llvm/llvm-project] a8b2fe: [Utils][FIX] Properly deal with occasionally delet...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Wed Apr 1 20:01:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a8b2fed0aef99be3efd11f8eec26df5a7d42fde2
      https://github.com/llvm/llvm-project/commit/a8b2fed0aef99be3efd11f8eec26df5a7d42fde2
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

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

  Log Message:
  -----------
  [Utils][FIX] Properly deal with occasionally deleted functions

While D68850 allowed functions to be deleted I accidentally saved some
version of the function to be used once a suitable prefix was found.
This turned out to be problematic when the occasionally deleted function
is also occasionally modified. The test case is adjusted to resemble the
case in which the problem was found.

Reviewed By: lebedev.ri

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




More information about the All-commits mailing list