llvm-project
7c7f5be3 - [CodeGen][AMDGPU] Move boilerplate unit test code to base class (NFC) (#196547)

Commit
18 days ago
[CodeGen][AMDGPU] Move boilerplate unit test code to base class (NFC) (#196547) This adds the `CodeGenTestBase` class to handle boilerplate code for codegen unit tests and makes use of it wherever possible, in particular in AMDGPU unit tests. Furthermore, this makes all AMDGPU unit tests rely on GoogleTest's API for "run once per test-suite" code, instead of re-implementing that behavior using a `std::once` flag. As a consequence all TEST(...) become TEST_F(...).
Author
Parents
Loading