[all-commits] [llvm/llvm-project] 4c8c63: [test] Cleanup some CGSCCPassManager tests

aeubanks via All-commits all-commits at lists.llvm.org
Wed Dec 16 16:28:59 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c8c6368710ea58d940d7274dcc700eeb1c0a969
      https://github.com/llvm/llvm-project/commit/4c8c6368710ea58d940d7274dcc700eeb1c0a969
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-12-16 (Wed, 16 Dec 2020)

  Changed paths:
    M llvm/unittests/Analysis/CGSCCPassManagerTest.cpp

  Log Message:
  -----------
  [test] Cleanup some CGSCCPassManager tests

Don't iterate over SCC as we potentially modify it.
Verify module (and fix some broken ones).
Only run pass once and make sure that it's actually run.
Rename tests to just end in a number since I'm planning on adding a
bunch more which won't have good individual names. Instead, add comments
on the transformations that each test does.

Reviewed By: rnk

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




More information about the All-commits mailing list