[all-commits] [llvm/llvm-project] 03ac08: [nfc][InstrProfTest]Un-parameterize test cases tha...

Mingming Liu via All-commits all-commits at lists.llvm.org
Tue Nov 21 12:37:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03ac08db7d9b9f00815b07a27e128dcdd382c899
      https://github.com/llvm/llvm-project/commit/03ac08db7d9b9f00815b07a27e128dcdd382c899
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  -----------
  [nfc][InstrProfTest]Un-parameterize test cases that doesn't use profile reader and writer (#73026)

Test fixture `MaybeSparseInstrProfTest` parameterize InstrProfWriter by
whether output is sparse or not. This test fixture has 20 test cases,
and 6 of them doesn't use profile reader and writer. Undo the
parameterization for these test cases will reduce redundant tests. This
is one clean-up PR. (A few more clean-ups to come soon, but they are not
inter-dependent)




More information about the All-commits mailing list